You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Erick Erickson <er...@gmail.com> on 2010/04/01 03:01:32 UTC

Re: best way to interest two queries?

I'm not quite sure what you mean by "passed this, nothing matches that query
anymore". But one approach to your intersection process would be to fire two
queries. Use the first query to create a filter for the second. See
QueryWrapperFilter in the javadocs...

HTH
Erick

On Wed, Mar 31, 2010 at 2:00 PM, Paul Libbrecht <pa...@activemath.org> wrote:

>
> Hello list,
>
> I've been wandering around but I see no solution yet: I would like to
> intersect two query results: going through the list of one query and
> indicating which ones actually match the other query or, even better,
> indicating that "passed this, nothing matches that query anymore".
>
> What should be the strategy?
>
> paul
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>