SearchModelFactory.ExhaustiveKnnParameters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains the parameters specific to exhaustive KNN algorithm.
public static Azure.Search.Documents.Indexes.Models.ExhaustiveKnnParameters ExhaustiveKnnParameters(Azure.Search.Documents.Indexes.Models.VectorSearchAlgorithmMetric? metric = default);
static member ExhaustiveKnnParameters : Nullable<Azure.Search.Documents.Indexes.Models.VectorSearchAlgorithmMetric> -> Azure.Search.Documents.Indexes.Models.ExhaustiveKnnParameters
Public Shared Function ExhaustiveKnnParameters (Optional metric As Nullable(Of VectorSearchAlgorithmMetric) = Nothing) As ExhaustiveKnnParameters
Parameters
- metric
- Nullable<VectorSearchAlgorithmMetric>
The similarity metric to use for vector comparisons.
Returns
A new ExhaustiveKnnParameters instance for mocking.