Search Results for

    Show / Hide Table of Contents

    Class IntervalsMatchDescriptor

    Matches the analyzed text

    Inheritance
    object
    DescriptorBase<IntervalsMatchDescriptor, IIntervalsMatch>
    IntervalsDescriptorBase<IntervalsMatchDescriptor, IIntervalsMatch>
    IntervalsMatchDescriptor
    Implements
    IDescriptor
    IIntervalsMatch
    IIntervals
    Inherited Members
    IntervalsDescriptorBase<IntervalsMatchDescriptor, IIntervalsMatch>.Filter(Func<IntervalsFilterDescriptor, IIntervalsFilter>)
    DescriptorBase<IntervalsMatchDescriptor, IIntervalsMatch>.Self
    DescriptorBase<IntervalsMatchDescriptor, IIntervalsMatch>.Assign<TValue>(TValue, Action<IIntervalsMatch, 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 IntervalsMatchDescriptor : IntervalsDescriptorBase<IntervalsMatchDescriptor, IIntervalsMatch>, IDescriptor, IIntervalsMatch, IIntervals

    Methods

    | Edit this page View Source

    Analyzer(string)

    Which analyzer should be used to analyze terms in the query. By default, the search analyzer of the top-level field will be used.

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

    MaxGaps(int?)

    Specify a maximum number of gaps between the terms in the text. Terms that appear further apart than this will not match. If unspecified, or set to -1, then there is no width restriction on the match. If set to 0 then the terms must appear next to each other.

    Declaration
    public IntervalsMatchDescriptor MaxGaps(int? maxGaps)
    Parameters
    Type Name Description
    int? maxGaps
    Returns
    Type Description
    IntervalsMatchDescriptor
    | Edit this page View Source

    Ordered(bool?)

    Whether or not the terms must appear in their specified order. Defaults to false

    Declaration
    public IntervalsMatchDescriptor Ordered(bool? ordered = true)
    Parameters
    Type Name Description
    bool? ordered
    Returns
    Type Description
    IntervalsMatchDescriptor
    | Edit this page View Source

    Query(string)

    The text to match.

    Declaration
    public IntervalsMatchDescriptor Query(string query)
    Parameters
    Type Name Description
    string query
    Returns
    Type Description
    IntervalsMatchDescriptor
    | Edit this page View Source

    UseField(Field)

    If specified, then match intervals from this field rather than the top-level field. Terms will be analyzed using the search analyzer from this field. This allows you to search across multiple fields as if they were all the same field

    Declaration
    public IntervalsMatchDescriptor UseField(Field useField)
    Parameters
    Type Name Description
    Field useField
    Returns
    Type Description
    IntervalsMatchDescriptor
    | 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. Terms will be analyzed using the search analyzer from this field. This allows you to search across multiple fields as if they were all the same field

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

    Implements

    IDescriptor
    IIntervalsMatch
    IIntervals

    Extension Methods

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