VectorQuery.Threshold Property

Definition

The threshold used for vector queries. Note this can only be set if all 'fields' use the same similarity metric. Please note VectorThreshold is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include SearchScoreThreshold and VectorSimilarityThreshold.

public Azure.Search.Documents.Models.VectorThreshold Threshold { get; set; }
member this.Threshold : Azure.Search.Documents.Models.VectorThreshold with get, set
Public Property Threshold As VectorThreshold

Property Value

Applies to