Package version:

Interface QueryResultDocumentSubscores

The breakdown of subscores between the text and vector query components of the search query for this document. Each vector query is shown as a separate object in the same order they were received.

interface QueryResultDocumentSubscores {
    documentBoost?: number;
    text?: TextResult;
    vectors?: {
        [propertyName: string]: SingleVectorFieldResult;
    }[];
}

Properties

documentBoost?: number

The BM25 or Classic score for the text portion of the query. NOTE: This property will not be serialized. It can only be populated by the server.

text?: TextResult

The BM25 or Classic score for the text portion of the query. NOTE: This property will not be serialized. It can only be populated by the server.

vectors?: {
    [propertyName: string]: SingleVectorFieldResult;
}[]

The vector similarity and @search.score values for each vector query. NOTE: This property will not be serialized. It can only be populated by the server.