org.apache.lucene.sandbox.queries

Class SlowFuzzyTermsEnum

  • All Implemented Interfaces:
    BytesRefIterator

    Deprecated. 
    Use FuzzyTermsEnum instead.

    @Deprecated
    public final class SlowFuzzyTermsEnum
    extends FuzzyTermsEnum
    Potentially slow fuzzy 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 FuzzyTermsEnum's getAutomatonEnum.

    Term enumerations are always ordered by BytesRef.compareTo(org.apache.lucene.util.BytesRef). Each term in the enumeration is greater than all that precede it.