Search Results for

    Show / Hide Table of Contents

    Class IntervalsMatch

    Matches the analyzed text

    Inheritance
    object
    IntervalsBase
    IntervalsMatch
    Implements
    IIntervalsMatch
    IIntervals
    Inherited Members
    IntervalsBase.Filter
    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 IntervalsMatch : IntervalsBase, IIntervalsMatch, IIntervals

    Properties

    | Edit this page View Source

    Analyzer

    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
    [DataMember(Name = "analyzer")]
    public string Analyzer { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    MaxGaps

    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
    [DataMember(Name = "max_gaps")]
    public int? MaxGaps { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    Ordered

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

    Declaration
    [DataMember(Name = "ordered")]
    public bool? Ordered { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    Query

    The text to match.

    Declaration
    public string Query { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    UseField

    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
    [DataMember(Name = "use_field")]
    public Field UseField { get; set; }
    Property Value
    Type Description
    Field

    Implements

    IIntervalsMatch
    IIntervals

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • Analyzer
      • MaxGaps
      • Ordered
      • Query
      • UseField
    • Implements
    • Extension Methods
    Back to top Generated by DocFX