lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jm85 <james.mur...@documatics.com>
Subject Wildcard Search over multiple fields
Date Wed, 07 May 2008 11:14:03 GMT

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.


Mime
View raw message