Search Results for

    Show / Hide Table of Contents

    Interface ISuggestFuzziness

    Fuzziness options for a suggester

    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface ISuggestFuzziness

    Properties

    | Edit this page View Source

    Fuzziness

    The fuzziness factor. defaults to AUTO

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

    MinLength

    Minimum length of the input before fuzzy suggestions are returned. Defaults to 3

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

    PrefixLength

    Minimum length of the input, which is not checked for fuzzy alternatives. Defaults to 1

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

    Transpositions

    if set to true, transpositions are counted as one change instead of two. Defaults to true

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

    UnicodeAware

    If true, all measurements (like fuzzy edit distance, transpositions, and lengths) are measured in Unicode code points instead of in bytes. This is slightly slower than raw bytes, so it is set to false by default.

    Declaration
    [DataMember(Name = "unicode_aware")]
    bool? UnicodeAware { get; set; }
    Property Value
    Type Description
    bool?

    Extension Methods

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