Share via


SearchScoreThreshold Class

Definition

The results of the vector query will filter based on the '@search.score' value. Note this is the @search.score returned as part of the search response. The threshold direction will be chosen for higher @search.score.

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

Constructors

SearchScoreThreshold(Double)

Initializes a new instance of SearchScoreThreshold.

Properties

Value

The threshold will filter based on the '@search.score' value. Note this is the @search.score returned as part of the search response. The threshold direction will be chosen for higher @search.score.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SearchScoreThreshold>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SearchScoreThreshold>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<VectorThreshold>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from VectorThreshold)
IJsonModel<VectorThreshold>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from VectorThreshold)
IPersistableModel<SearchScoreThreshold>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SearchScoreThreshold>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SearchScoreThreshold>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<VectorThreshold>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from VectorThreshold)
IPersistableModel<VectorThreshold>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from VectorThreshold)
IPersistableModel<VectorThreshold>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from VectorThreshold)

Applies to