I thought you could simply add a ConstantScoreQuery (whose constructor takes a Filter) to a BooleanQuery. It seems that doing this at the very top level with a MUST would do the trick.....
Erick On 4/3/07, Paul Elschot <[EMAIL PROTECTED]> wrote:
On Tuesday 03 April 2007 17:44, Erick Erickson wrote: > ... > Then simply add the users filter to a BooleanQuery (MUST) > that you use when you search. > Adding a Filter to a BooleanQuery is not (yet) possible. For the moment one needs to use the Searcher methods that take a filter and a query. Regards, Paul Elschot --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
