Share via


QueryResultDocumentSubscores Class

Definition

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.

public class QueryResultDocumentSubscores : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Models.QueryResultDocumentSubscores>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Models.QueryResultDocumentSubscores>
type QueryResultDocumentSubscores = class
    interface IJsonModel<QueryResultDocumentSubscores>
    interface IPersistableModel<QueryResultDocumentSubscores>
Public Class QueryResultDocumentSubscores
Implements IJsonModel(Of QueryResultDocumentSubscores), IPersistableModel(Of QueryResultDocumentSubscores)
Inheritance
QueryResultDocumentSubscores
Implements

Properties

DocumentBoost

The BM25 or Classic score for the text portion of the query.

Text

The BM25 or Classic score for the text portion of the query.

Vectors

The vector similarity and @search.score values for each vector query.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<QueryResultDocumentSubscores>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<QueryResultDocumentSubscores>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<QueryResultDocumentSubscores>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<QueryResultDocumentSubscores>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<QueryResultDocumentSubscores>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to