Search Results for

    Show / Hide Table of Contents

    Interface IIntervalsFuzzy

    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.

    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface IIntervalsFuzzy : IIntervalsNoFilter

    Properties

    | Edit this page View Source

    Analyzer

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

    Declaration
    [DataMember(Name = "analyzer")]
    string Analyzer { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Fuzziness

    Maximum edit distance allowed for matching. See Fuzziness for valid values and more information. Defaults to Auto.

    Declaration
    [DataMember(Name = "fuzziness")]
    Fuzziness Fuzziness { get; set; }
    Property Value
    Type Description
    Fuzziness
    | Edit this page View Source

    PrefixLength

    Number of beginning characters left unchanged when creating expansions. Defaults to 0.

    Declaration
    [DataMember(Name = "prefix_length")]
    int? PrefixLength { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    Term

    The term to match.

    Declaration
    [DataMember(Name = "term")]
    string Term { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Transpositions

    Indicates whether edits include transpositions of two adjacent characters (ab → ba). Defaults to true.

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

    UseField

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

    Declaration
    [DataMember(Name = "use_field")]
    Field UseField { get; set; }
    Property Value
    Type Description
    Field

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • Analyzer
      • Fuzziness
      • PrefixLength
      • Term
      • Transpositions
      • UseField
    • Extension Methods
    Back to top Generated by DocFX