To perform a fuzzy search, you will create a MultiFieldQueryParser The following is an example of how to do this:
var parser = new MultiFieldQueryParser(Lucene.Net.Util.Version.LUCENE_29, new[] { "field1", "field2" }, new StandardAnalyzer(Lucene.Net.Util.Version.LUCENE_29));
Your version of Lucene.Net may vary.
Next, you will receive a Fuzzy parsing request as follows:
var query = parser.GetFuzzyQuery("fieldName", "featured", 0.7f);
A float value of 0.7f is the minimum similarity. You can adjust this number until you get the desired results. The number cannot be greater than 1.0f . Fulfilling this query using Lucene Searcher will give you the expected results.
source share