Share via


VectorSimilarityThreshold(Double) Constructor

Definition

Initializes a new instance of VectorSimilarityThreshold.

public VectorSimilarityThreshold (double value);
new Azure.Search.Documents.Models.VectorSimilarityThreshold : double -> Azure.Search.Documents.Models.VectorSimilarityThreshold
Public Sub New (value As Double)

Parameters

value
Double

The threshold will filter based on the similarity metric value. Note this is the canonical definition of similarity metric, not the 'distance' version. The threshold direction (larger or smaller) will be chosen automatically according to the metric used by the field.

Applies to