Search Results for

    Show / Hide Table of Contents

    Class IntervalsQuery

    A query that allows fine-grained control over the order and proximity of matching terms. Matching rules are constructed from a small set of definitions, and the rules are then applied to terms from a particular field. The definitions produce sequences of minimal intervals that span terms in a body of text. These intervals can be further combined and filtered by parent sources.

    Inheritance
    object
    QueryBase
    FieldNameQueryBase
    IntervalsQuery
    Implements
    IIntervalsQuery
    IFieldNameQuery
    IQuery
    IIntervalsContainer
    Inherited Members
    FieldNameQueryBase.Field
    QueryBase.Boost
    QueryBase.IsStrict
    QueryBase.IsVerbatim
    QueryBase.IsWritable
    QueryBase.Name
    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 IntervalsQuery : FieldNameQueryBase, IIntervalsQuery, IFieldNameQuery, IQuery, IIntervalsContainer

    Properties

    | Edit this page View Source

    AllOf

    A rule that returns matches that span a combination of other rules.

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

    AnyOf

    A rule that emits intervals produced by any of its sub-rules.

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

    Conditionless

    Declaration
    protected override bool Conditionless { get; }
    Property Value
    Type Description
    bool
    Overrides
    QueryBase.Conditionless
    | Edit this page View Source

    Fuzzy

    The fuzzy rule matches terms that are similar to the provided term, within an edit distance defined by Fuzziness. If the fuzzy expansion matches more than 128 terms, OpenSearch returns an error.

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

    Match

    Matches the analyzed text

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

    Prefix

    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.

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

    Wildcard

    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.

    Declaration
    public IIntervalsWildcard Wildcard { get; set; }
    Property Value
    Type Description
    IIntervalsWildcard

    Implements

    IIntervalsQuery
    IFieldNameQuery
    IQuery
    IIntervalsContainer

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • AllOf
      • AnyOf
      • Conditionless
      • Fuzzy
      • Match
      • Prefix
      • Wildcard
    • Implements
    • Extension Methods
    Back to top Generated by DocFX