lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson" <erickerick...@gmail.com>
Subject Re: Design Problem: Searching large set of protected documents
Date Tue, 03 Apr 2007 23:32:46 GMT
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 <paul.elschot@xs4all.nl> 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: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message