lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Patterson <>
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

View this message in context:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message