public static Expand ( String query, Searcher syns, Analyzer a, String field, float boost ) : Query |
query |
String |
users query that is assumed to not have any "special" query syntax, thus it should be just normal words, so "big dog" makes sense, but a query like "title:foo^1.2" doesn't as this should presumably be passed directly to the default query parser |
syns |
Lucene.Net.Search.Searcher |
a opened to the Lucene index you previously created with . The searcher is not closed or otherwise altered. |
a |
Lucene.Net.Analysis.Analyzer |
optional analyzer used to parse the users query else is used |
field |
String |
optional field name to search in or null if you want the default of "contents" |
boost |
float |
optional boost applied to synonyms else no boost is applied |
return |
Lucene.Net.Search.Query |
|