Interface IKnnVectorProperty
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IKnnVectorProperty : IDocValuesProperty, ICoreProperty, IProperty, IFieldMapping
Properties
| Edit this page View SourceDimension
The dimension of the vector.
Declaration
[DataMember(Name = "dimension")]
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
[DataMember(Name = "method")]
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
[DataMember(Name = "model_id")]
string ModelId { get; set; }
Property Value
Type | Description |
---|---|
string |