Share via


TextResult Class

Definition

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

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

Properties

SearchScore

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<TextResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TextResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TextResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TextResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TextResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to