lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Patterson <jdp2...@gmail.com>
Subject Re: Mixing non scored an scored queries
Date Tue, 15 Jul 2008 16:11:42 GMT



John Patterson wrote:
> 
> 
> I don't think filters are the way to go here because I need to use boolean
> style logic e.g.
> 
> Search for free text "open fire" restricted to "London" OR "Brighton" in
> category "Pubs and bars" OR "Restaurants"
> 
> which means I need to construct and run a BooleanQuery - unless I
> implement my own boolean logic to use TermDocs which seems like overkill.
> 
> So it seems that creating a constant scoring TermQuery is the best
> suggestion so far.
> 

Would be really great if I could call BooleanQuery.setConstantScore(1.0f) or
something.

-- 
View this message in context: http://www.nabble.com/Mixing-non-scored-an-scored-queries-tp18460018p18469083.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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