Language

HybridSearchOptions<TRecord>.ScoreThreshold Property

Definition

Gets or sets the score threshold to filter results.

public:
 property Nullable<double> ScoreThreshold { Nullable<double> get(); void set(Nullable<double> value); };
public double? ScoreThreshold { get; set; }
member this.ScoreThreshold : Nullable<double> with get, set
Public Property ScoreThreshold As Nullable(Of Double)

Property Value

Remarks

The meaning of the score is a combination of the distance function configured for VectorProperty and the text relevance score for the full-text search on AdditionalProperty.

The range of scores also depends on the distance function; for example, cosine similarity/distance scores fall within 0 to 1, while Euclidean distance is unbounded. Scores can also differ between vector databases.

Applies to