query of q2 have two process?
1. Run the query to get results.
2. For filtering
Regards,
Jay
From: Chris Hostetter
To: java-user@lucene.apache.org
Sent: Thursday, December 18, 2008 3:14:51 PM
Subject: Re: Unique results in BooleanQuery
: Let me expound more
: Let me expound more on the question. Will the q1 be run on the
: BooleanQuery q2 and append the results that are not equal to the result
: of the first query of q2?
i really have no idea what you mean by: "q1 be run on the BooleanQuery q2"
the query structure suggested will ensure that you o
You could also think about a filter. Just run q1 as a regular query.
Use one of the Collector methods to create a Filter. At the end,
invert the Filter and use it as a parameter for your second query.
Best
Erick
On Wed, Dec 17, 2008 at 12:23 AM, Jay Malaluan wrote:
>
> Hi,
>
> Anyone knowledgeab
:06 PM
Subject: Re: Unique results in BooleanQuery
Hi Paul,
But will the q1 be run on the BooleanQuery q2 or q1 is just used for filtering?
Regards,
Jay Malaluan
From: Paul Cowan
To: java-user@lucene.apache.org
Sent: Wednesday, December 17, 2008 1:37:15 PM
Hi Paul,
But will the q1 be run on the BooleanQuery q2 or q1 is just used for filtering?
Regards,
Jay Malaluan
From: Paul Cowan
To: java-user@lucene.apache.org
Sent: Wednesday, December 17, 2008 1:37:15 PM
Subject: Re: Unique results in BooleanQuery
Hi
Hi Jay,
Anyone knowledgeable on how to get unique hits using the BooleanQuery?
If I have 2 queries so the when the 1st query is processed then the 2nd
query will not anymore return the same results from the 1st query.
Do you mean you want to run two separate queries -- get all the results
fr