Search Results for

    Show / Hide Table of Contents

    Class IntervalsWildcardDescriptor

    Matches terms using a wildcard pattern. This pattern can expand to match at most 128 terms. If the pattern matches more than 128 terms, OpenSearch returns an error.

    Inheritance
    object
    DescriptorBase<IntervalsWildcardDescriptor, IIntervalsWildcard>
    IntervalsWildcardDescriptor
    Implements
    IDescriptor
    IIntervalsWildcard
    IIntervalsNoFilter
    Inherited Members
    DescriptorBase<IntervalsWildcardDescriptor, IIntervalsWildcard>.Self
    DescriptorBase<IntervalsWildcardDescriptor, IIntervalsWildcard>.Assign<TValue>(TValue, Action<IIntervalsWildcard, 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 IntervalsWildcardDescriptor : DescriptorBase<IntervalsWildcardDescriptor, IIntervalsWildcard>, IDescriptor, IIntervalsWildcard, 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 IntervalsWildcardDescriptor Analyzer(string analyzer)
    Parameters
    Type Name Description
    string analyzer
    Returns
    Type Description
    IntervalsWildcardDescriptor
    | Edit this page View Source

    Pattern(string)

    Wildcard pattern used to find matching terms. Supports two wildcard operators:

    ?, which matches any single character

    *, which can match zero or more characters, including an empty one

    Warning: Avoid beginning patterns with * or ?. This can increase the iterations needed to find matching terms and slow search performance.
    Declaration
    public IntervalsWildcardDescriptor Pattern(string pattern)
    Parameters
    Type Name Description
    string pattern
    Returns
    Type Description
    IntervalsWildcardDescriptor
    | 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 IntervalsWildcardDescriptor UseField(Field useField)
    Parameters
    Type Name Description
    Field useField
    Returns
    Type Description
    IntervalsWildcardDescriptor
    | 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 IntervalsWildcardDescriptor UseField<T>(Expression<Func<T, object>> objectPath)
    Parameters
    Type Name Description
    Expression<Func<T, object>> objectPath
    Returns
    Type Description
    IntervalsWildcardDescriptor
    Type Parameters
    Name Description
    T

    Implements

    IDescriptor
    IIntervalsWildcard
    IIntervalsNoFilter

    Extension Methods

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