Search Results for

    Show / Hide Table of Contents

    Class KnnMethodDescriptor

    Inheritance
    object
    DescriptorBase<KnnMethodDescriptor, IKnnMethod>
    KnnMethodDescriptor
    Implements
    IDescriptor
    IKnnMethod
    Inherited Members
    DescriptorBase<KnnMethodDescriptor, IKnnMethod>.Self
    DescriptorBase<KnnMethodDescriptor, IKnnMethod>.Assign<TValue>(TValue, Action<IKnnMethod, TValue>)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class KnnMethodDescriptor : DescriptorBase<KnnMethodDescriptor, IKnnMethod>, IDescriptor, IKnnMethod

    Methods

    | Edit this page View Source

    Engine(string)

    The approximate k-NN library to use for indexing and search.

    Declaration
    public KnnMethodDescriptor Engine(string engine)
    Parameters
    Type Name Description
    string engine
    Returns
    Type Description
    KnnMethodDescriptor
    | Edit this page View Source

    Name(string)

    The identifier for the nearest neighbor method.

    Declaration
    public KnnMethodDescriptor Name(string name)
    Parameters
    Type Name Description
    string name
    Returns
    Type Description
    KnnMethodDescriptor
    | Edit this page View Source

    Parameters(Func<KnnMethodParametersDescriptor, IPromise<IKnnMethodParameters>>)

    The parameters used for the nearest neighbor method.

    Declaration
    public KnnMethodDescriptor Parameters(Func<KnnMethodParametersDescriptor, IPromise<IKnnMethodParameters>> selector)
    Parameters
    Type Name Description
    Func<KnnMethodParametersDescriptor, IPromise<IKnnMethodParameters>> selector
    Returns
    Type Description
    KnnMethodDescriptor
    | Edit this page View Source

    SpaceType(string)

    The vector space used to calculate the distance between vectors.

    Declaration
    public KnnMethodDescriptor SpaceType(string spaceType)
    Parameters
    Type Name Description
    string spaceType
    Returns
    Type Description
    KnnMethodDescriptor

    Implements

    IDescriptor
    IKnnMethod

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Methods
      • Engine(string)
      • Name(string)
      • Parameters(Func<KnnMethodParametersDescriptor, IPromise<IKnnMethodParameters>>)
      • SpaceType(string)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX