Class HnswParameters
Contains the parameters specific to hnsw algorithm.
Inheritance
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Search.Documents.dll
Syntax
public class HnswParameters
Constructors
HnswParameters()
Initializes a new instance of HnswParameters.
Declaration
public HnswParameters ();
Properties
EfConstruction
The size of the dynamic list containing the nearest neighbors, which is used during index time. Increasing this parameter may improve index quality, at the expense of increased indexing time. At a certain point, increasing this parameter leads to diminishing returns.
Declaration
public Nullable<int> EfConstruction { get; set; }
Property Value
System.Nullable<System.Int32>
|
EfSearch
The size of the dynamic list containing the nearest neighbors, which is used during search time. Increasing this parameter may improve search results, at the expense of slower search. Increasing this parameter leads to diminishing returns..
Declaration
public Nullable<int> EfSearch { get; set; }
Property Value
System.Nullable<System.Int32>
|
M
The number of bi-directional links created for every new element during construction. Increasing this parameter value may improve recall and reduce retrieval times for datasets with high intrinsic dimensionality at the expense of increased memory consumption and longer indexing time.
Declaration
public Nullable<int> M { get; set; }
Property Value
System.Nullable<System.Int32>
|
Metric
The similarity metric to use for vector comparisons.
Declaration
public Nullable<Azure.Search.Documents.Indexes.Models.VectorSearchAlgorithmMetric> Metric { get; set; }
Property Value
System.Nullable<VectorSearchAlgorithmMetric>
|