FuzzyTermsEnum
instead.@Deprecated public final class SlowFuzzyTermsEnum extends FuzzyTermsEnum
Term enumerations are always ordered by
FuzzyTermsEnum.getComparator()
. Each term in the enumeration is
greater than all that precede it.
FuzzyTermsEnum.LevenshteinAutomataAttribute, FuzzyTermsEnum.LevenshteinAutomataAttributeImpl
TermsEnum.SeekStatus
maxEdits, minSimilarity, raw, realPrefixLength, scale_factor, termLength, terms, termText
Constructor and Description |
---|
SlowFuzzyTermsEnum(Terms terms,
AttributeSource atts,
Term term,
float minSimilarity,
int prefixLength)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
maxEditDistanceChanged(BytesRef lastTerm,
int maxEdits,
boolean init)
Deprecated.
|
docFreq, docs, docsAndPositions, getAutomatonEnum, getComparator, getMinSimilarity, getScaleFactor, next, ord, seekCeil, seekExact, seekExact, seekExact, setEnum, term, termState, totalTermFreq
attributes, docs, docsAndPositions, seekCeil
public SlowFuzzyTermsEnum(Terms terms, AttributeSource atts, Term term, float minSimilarity, int prefixLength) throws IOException
IOException
protected void maxEditDistanceChanged(BytesRef lastTerm, int maxEdits, boolean init) throws IOException
maxEditDistanceChanged
in class FuzzyTermsEnum
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.