Class KnnVectorProperty
Implements
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class KnnVectorProperty : DocValuesPropertyBase, IPropertyWithClrOrigin, IKnnVectorProperty, IDocValuesProperty, ICoreProperty, IProperty, IFieldMapping
Constructors
| Edit this page View SourceKnnVectorProperty()
Declaration
public KnnVectorProperty()
Properties
| Edit this page View SourceDimension
The dimension of the vector.
Declaration
public int? Dimension { get; set; }
Property Value
Type | Description |
---|---|
int? |
Method
The method to use when the underlying Approximate k-NN algorithm does not require training.
Declaration
public IKnnMethod Method { get; set; }
Property Value
Type | Description |
---|---|
IKnnMethod |
ModelId
The model to use when the underlying Approximate k-NN algorithm requires a training step.
Declaration
public string ModelId { get; set; }
Property Value
Type | Description |
---|---|
string |