Class FuzzyTermEnum
Subclass of FilteredTermEnum for enumerating all terms that are similiar to the specified filter term.
Term enumerations are always ordered by Term.compareTo(). Each term in the enumeration is greater than all that precede it.
Inherited Members
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public sealed class FuzzyTermEnum : FilteredTermEnum
Constructors
Name | Description |
---|---|
FuzzyTermEnum(IndexReader, Term) | Creates a FuzzyTermEnum with an empty prefix and a minSimilarity of 0.5f. After calling the constructor the enumeration is already pointing to the first valid term if such a term exists. |
FuzzyTermEnum(IndexReader, Term, Single) | Creates a FuzzyTermEnum with an empty prefix. After calling the constructor the enumeration is already pointing to the first valid term if such a term exists. |
FuzzyTermEnum(IndexReader, Term, Single, Int32) | Constructor for enumeration of all terms from specified After calling the constructor the enumeration is already pointing to the first valid term if such a term exists. |
Methods
Name | Description |
---|---|
Difference() | |
Dispose(Boolean) | |
EndEnum() | |
TermCompare(Term) | The termCompare method in FuzzyTermEnum uses Levenshtein distance to calculate the distance between the given term and the comparing term. |