Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class SlowFuzzyTermsEnum

    Potentially slow fuzzy Lucene.Net.Index.TermsEnum for enumerating all terms that are similar to the specified filter term.

    If the minSimilarity or maxEdits is greater than the Automaton's allowable range, this backs off to the classic (brute force) fuzzy terms enum method by calling GetAutomatonEnum(int, BytesRef).

    Term enumerations are always ordered by Lucene.Net.Search.FuzzyTermsEnum.Comparer. Each term in the enumeration is greater than all that precede it.
    Inheritance
    object
    TermsEnum
    FuzzyTermsEnum
    SlowFuzzyTermsEnum
    Implements
    IBytesRefEnumerator
    Inherited Members
    FuzzyTermsEnum.m_minSimilarity
    FuzzyTermsEnum.m_scaleFactor
    FuzzyTermsEnum.m_termLength
    FuzzyTermsEnum.m_maxEdits
    FuzzyTermsEnum.m_raw
    FuzzyTermsEnum.m_terms
    FuzzyTermsEnum.m_termText
    FuzzyTermsEnum.m_realPrefixLength
    FuzzyTermsEnum.GetAutomatonEnum(int, BytesRef)
    FuzzyTermsEnum.SetEnum(TermsEnum)
    FuzzyTermsEnum.MoveNext()
    FuzzyTermsEnum.DocFreq
    FuzzyTermsEnum.TotalTermFreq
    FuzzyTermsEnum.Docs(IBits, DocsEnum, DocsFlags)
    FuzzyTermsEnum.DocsAndPositions(IBits, DocsAndPositionsEnum, DocsAndPositionsFlags)
    FuzzyTermsEnum.SeekExact(BytesRef, TermState)
    FuzzyTermsEnum.GetTermState()
    FuzzyTermsEnum.Comparer
    FuzzyTermsEnum.Ord
    FuzzyTermsEnum.SeekExact(BytesRef)
    FuzzyTermsEnum.SeekCeil(BytesRef)
    FuzzyTermsEnum.SeekExact(long)
    FuzzyTermsEnum.Term
    FuzzyTermsEnum.MinSimilarity
    FuzzyTermsEnum.ScaleFactor
    TermsEnum.Attributes
    TermsEnum.Docs(IBits, DocsEnum)
    TermsEnum.DocsAndPositions(IBits, DocsAndPositionsEnum)
    TermsEnum.EMPTY
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Sandbox.Queries
    Assembly: Lucene.Net.Sandbox.dll
    Syntax
    [Obsolete("Use FuzzyTermsEnum instead.")]
    public class SlowFuzzyTermsEnum : FuzzyTermsEnum, IBytesRefEnumerator

    Constructors

    SlowFuzzyTermsEnum(Terms, AttributeSource, Term, float, int)

    Potentially slow fuzzy Lucene.Net.Index.TermsEnum for enumerating all terms that are similar to the specified filter term.

    If the minSimilarity or maxEdits is greater than the Automaton's allowable range, this backs off to the classic (brute force) fuzzy terms enum method by calling GetAutomatonEnum(int, BytesRef).

    Term enumerations are always ordered by Lucene.Net.Search.FuzzyTermsEnum.Comparer. Each term in the enumeration is greater than all that precede it.
    Declaration
    public SlowFuzzyTermsEnum(Terms terms, AttributeSource atts, Term term, float minSimilarity, int prefixLength)
    Parameters
    Type Name Description
    Terms terms
    AttributeSource atts
    Term term
    float minSimilarity
    int prefixLength

    Methods

    MaxEditDistanceChanged(BytesRef, int, bool)

    Potentially slow fuzzy Lucene.Net.Index.TermsEnum for enumerating all terms that are similar to the specified filter term.

    If the minSimilarity or maxEdits is greater than the Automaton's allowable range, this backs off to the classic (brute force) fuzzy terms enum method by calling GetAutomatonEnum(int, BytesRef).

    Term enumerations are always ordered by Lucene.Net.Search.FuzzyTermsEnum.Comparer. Each term in the enumeration is greater than all that precede it.
    Declaration
    protected override void MaxEditDistanceChanged(BytesRef lastTerm, int maxEdits, bool init)
    Parameters
    Type Name Description
    BytesRef lastTerm
    int maxEdits
    bool init
    Overrides
    FuzzyTermsEnum.MaxEditDistanceChanged(BytesRef, int, bool)

    Implements

    Lucene.Net.Util.IBytesRefEnumerator
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.