You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@lucene.apache.org by jm85 <ja...@documatics.com> on 2008/05/07 13:14:03 UTC

Wildcard Search over multiple fields

Hello,

What is the best method of performing a leading and trailing wildcard search
over multiple fields? Currently I performing a wildcard search on one field
at the time, but this potentially inefficient:

WildcardQuery wildCardQuery = new WildcardQuery(new Term(searchField, "*" +
searchText + "*"));

Thanks for your help,

James Murphy
-- 
View this message in context: http://www.nabble.com/Wildcard-Search-over-multiple-fields-tp17101839p17101839.html
Sent from the Lucene - General mailing list archive at Nabble.com.