Implements the fuzzy search query. The similarity measurement
is based on the Levenshtein (edit distance) algorithm.
Warning: this query is not very scalable with its default prefix
length of 0 - in this case, *every* term will be enumerated and
cause an edit score calculation.
Namespace: Lucene.Net.SearchAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
[SerializableAttribute] public class FuzzyQuery : MultiTermQuery |
Visual Basic |
---|
<SerializableAttribute> _ Public Class FuzzyQuery _ Inherits MultiTermQuery |
Visual C++ |
---|
[SerializableAttribute] public ref class FuzzyQuery : public MultiTermQuery |
Inheritance Hierarchy
System..::..Object
Lucene.Net.Search..::..Query
Lucene.Net.Search..::..MultiTermQuery
Lucene.Net.Search..::..FuzzyQuery
Lucene.Net.Search..::..Query
Lucene.Net.Search..::..MultiTermQuery
Lucene.Net.Search..::..FuzzyQuery