The termCompare method in FuzzyTermEnum uses Levenshtein distance to calculate the distance between the given term and the comparing term.

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public override bool TermCompare(
	Term term
)
Visual Basic
Public Overrides Function TermCompare ( _
	term As Term _
) As Boolean
Visual C++
public:
virtual bool TermCompare(
	Term^ term
) override

Parameters

term
Type: Lucene.Net.Index..::..Term

[Missing <param name="term"/> documentation for "M:Lucene.Net.Search.FuzzyTermEnum.TermCompare(Lucene.Net.Index.Term)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Search.FuzzyTermEnum.TermCompare(Lucene.Net.Index.Term)"]

See Also