Search Results for

    Show / Hide Table of Contents

    Interface IKnnQuery

    An approximate k-NN query.

    Inherited Members
    IFieldNameQuery.Field
    IQuery.Boost
    IQuery.Conditionless
    IQuery.IsStrict
    IQuery.IsVerbatim
    IQuery.IsWritable
    IQuery.Name
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface IKnnQuery : IFieldNameQuery, IQuery

    Properties

    | Edit this page View Source

    Filter

    The result restriction filter query.

    Declaration
    [DataMember(Name = "filter")]
    IQueryContainer Filter { get; set; }
    Property Value
    Type Description
    IQueryContainer
    | Edit this page View Source

    K

    The number of neighbors the search of each graph will return.

    Declaration
    [DataMember(Name = "k")]
    int? K { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    Vector

    The vector to search for.

    Declaration
    [DataMember(Name = "vector")]
    float[] Vector { get; set; }
    Property Value
    Type Description
    float[]

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • Filter
      • K
      • Vector
    • Extension Methods
    Back to top Generated by DocFX