Class KnnQuery
Assembly: OpenSearch.Client.dll
Syntax
[DataContract]
public class KnnQuery : FieldNameQueryBase, IKnnQuery, IFieldNameQuery, IQuery
Properties
|
Edit this page
View Source
Conditionless
Declaration
protected override bool Conditionless { get; }
Property Value
Overrides
|
Edit this page
View Source
Filter
The result restriction filter query.
Declaration
public IQueryContainer Filter { get; set; }
Property Value
|
Edit this page
View Source
K
The number of neighbors the search of each graph will return.
Declaration
public int? K { get; set; }
Property Value
|
Edit this page
View Source
Vector
The vector to search for.
Declaration
public float[] Vector { get; set; }
Property Value
Implements
Extension Methods