lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Trouble w/ Query Creation
Date Tue, 20 Mar 2007 00:06:05 GMT

: I currently have a boolean query which contains a MultiFieldQuery  for all

MultiFieldQuery is not a query class that comes with Lucene ... did you
write it yourself?

it sounds like what you want is a boolean query (of a
DisjunctionMaxQuery) containing a seperate phrase query for each field ...
if you just do term queries you might not get the order you want if one of
hte "words" apperas a lot more often (and in more fields) then the other.




-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message