I assume that Lucene is working for you, and created a search index with some fields in it. Therefore, suppose that:
var fields = ...
After you have all this, you can continue the search query in several fields:
var analyzer = LuceneIndexProvider.CreateAnalyzer(); var query = new MultiFieldQueryParser(version, fields, analyzer).Parse(queryString);
You may already have gone so far and you are missing a fuzzy part. I simply add a ~ tilde to each word in queryString to tell Lucene about a fuzzy search for all words in queryString:
if (fuzzy && !string.IsNullOrEmpty(queryString)) {
The key point here is that Lucene uses fuzzy searches only for terms that end in ~ . This and other useful information was found at http://scatteredcode.wordpress.com/2011/05/26/performing-a-fuzzy-search-with-multiple-terms-through-multiple-lucene-net-document-fields / .
source share