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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]