Search Results for

    Show / Hide Table of Contents

    Class IntervalsFuzzyDescriptor

    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.

    Inheritance
    object
    DescriptorBase<IntervalsFuzzyDescriptor, IIntervalsFuzzy>
    IntervalsFuzzyDescriptor
    Implements
    IDescriptor
    IIntervalsFuzzy
    IIntervalsNoFilter
    Inherited Members
    DescriptorBase<IntervalsFuzzyDescriptor, IIntervalsFuzzy>.Self
    DescriptorBase<IntervalsFuzzyDescriptor, IIntervalsFuzzy>.Assign<TValue>(TValue, Action<IIntervalsFuzzy, 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 IntervalsFuzzyDescriptor : DescriptorBase<IntervalsFuzzyDescriptor, IIntervalsFuzzy>, IDescriptor, IIntervalsFuzzy, IIntervalsNoFilter

    Methods

    | Edit this page View Source

    Analyzer(string)

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

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

    Fuzziness(Fuzziness)

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

    Declaration
    public IntervalsFuzzyDescriptor Fuzziness(Fuzziness fuzziness)
    Parameters
    Type Name Description
    Fuzziness fuzziness
    Returns
    Type Description
    IntervalsFuzzyDescriptor
    | Edit this page View Source

    PrefixLength(int?)

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

    Declaration
    public IntervalsFuzzyDescriptor PrefixLength(int? prefixLength)
    Parameters
    Type Name Description
    int? prefixLength
    Returns
    Type Description
    IntervalsFuzzyDescriptor
    | Edit this page View Source

    Term(string)

    The term to match.

    Declaration
    public IntervalsFuzzyDescriptor Term(string term)
    Parameters
    Type Name Description
    string term
    Returns
    Type Description
    IntervalsFuzzyDescriptor
    | Edit this page View Source

    Transpositions(bool?)

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

    Declaration
    public IntervalsFuzzyDescriptor Transpositions(bool? transpositions = true)
    Parameters
    Type Name Description
    bool? transpositions
    Returns
    Type Description
    IntervalsFuzzyDescriptor
    | Edit this page View Source

    UseField(Field)

    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
    public IntervalsFuzzyDescriptor UseField(Field useField)
    Parameters
    Type Name Description
    Field useField
    Returns
    Type Description
    IntervalsFuzzyDescriptor
    | 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. The term is normalized using the search analyzer from this field, unless analyzer is specified separately.

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

    Implements

    IDescriptor
    IIntervalsFuzzy
    IIntervalsNoFilter

    Extension Methods

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