Class SlowFuzzyTermsEnum
Potentially slow fuzzy Terms
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
Term enumerations are always ordered by Comparer. Each term in the enumeration is greater than all that precede it.
Implements
Inherited Members
Namespace: Lucene.Net.Sandbox.Queries
Assembly: Lucene.Net.Sandbox.dll
Syntax
public class SlowFuzzyTermsEnum : FuzzyTermsEnum, IBytesRefIterator
Constructors
| Improve this Doc View SourceSlowFuzzyTermsEnum(Terms, AttributeSource, Term, Single, Int32)
Declaration
public SlowFuzzyTermsEnum(Terms terms, AttributeSource atts, Term term, float minSimilarity, int prefixLength)
Parameters
Type | Name | Description |
---|---|---|
Terms | terms | |
Attribute |
atts | |
Term | term | |
System. |
minSimilarity | |
System. |
prefixLength |
Methods
| Improve this Doc View SourceMaxEditDistanceChanged(BytesRef, Int32, Boolean)
Declaration
protected override void MaxEditDistanceChanged(BytesRef lastTerm, int maxEdits, bool init)
Parameters
Type | Name | Description |
---|---|---|
Bytes |
lastTerm | |
System. |
maxEdits | |
System. |
init |