Search Results for

    Show / Hide Table of Contents

    Class IntervalsPrefixDescriptor

    Matches terms that start with a specified set of characters. This prefix can expand to match at most 128 terms. If the prefix matches more than 128 terms, OpenSearch returns an error. You can use the index-prefixes option in the field mapping to avoid this limit.

    Inheritance
    object
    DescriptorBase<IntervalsPrefixDescriptor, IIntervalsPrefix>
    IntervalsPrefixDescriptor
    Implements
    IDescriptor
    IIntervalsPrefix
    IIntervalsNoFilter
    Inherited Members
    DescriptorBase<IntervalsPrefixDescriptor, IIntervalsPrefix>.Self
    DescriptorBase<IntervalsPrefixDescriptor, IIntervalsPrefix>.Assign<TValue>(TValue, Action<IIntervalsPrefix, 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 IntervalsPrefixDescriptor : DescriptorBase<IntervalsPrefixDescriptor, IIntervalsPrefix>, IDescriptor, IIntervalsPrefix, IIntervalsNoFilter

    Methods

    | Edit this page View Source

    Analyzer(string)

    Analyzer used to normalize the prefix. Defaults to the top-level field's analyzer.

    Declaration
    public IntervalsPrefixDescriptor Analyzer(string analyzer)
    Parameters
    Type Name Description
    string analyzer
    Returns
    Type Description
    IntervalsPrefixDescriptor
    | Edit this page View Source

    Prefix(string)

    Beginning characters of terms you wish to find in the top-level field

    Declaration
    public IntervalsPrefixDescriptor Prefix(string prefix)
    Parameters
    Type Name Description
    string prefix
    Returns
    Type Description
    IntervalsPrefixDescriptor
    | Edit this page View Source

    UseField(Field)

    If specified, then match intervals from this field rather than the top-level field. The prefix is normalized using the search analyzer from this field, unless a separate analyzer is specified.

    Declaration
    public IntervalsPrefixDescriptor UseField(Field useField)
    Parameters
    Type Name Description
    Field useField
    Returns
    Type Description
    IntervalsPrefixDescriptor
    | Edit this page View Source

    UseField<T>(Expression<Func<T, object>>)

    If specified, then match intervals from this field rather than the top-level field. The prefix is normalized using the search analyzer from this field, unless a separate analyzer is specified.

    Declaration
    public IntervalsPrefixDescriptor UseField<T>(Expression<Func<T, object>> objectPath)
    Parameters
    Type Name Description
    Expression<Func<T, object>> objectPath
    Returns
    Type Description
    IntervalsPrefixDescriptor
    Type Parameters
    Name Description
    T

    Implements

    IDescriptor
    IIntervalsPrefix
    IIntervalsNoFilter

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Methods
      • Analyzer(string)
      • Prefix(string)
      • UseField(Field)
      • UseField<T>(Expression<Func<T, object>>)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX