If you actually intend at getting the intersection of 2 results from a
'union' of 2 indexes, you could use the filter and query approach. You could
use a multi searcher or a parallel multi searcher to perform the search in
this case.

--
Anshum Gupta
http://ai-cafe.blogspot.com


On Mon, Feb 14, 2011 at 11:46 PM, <madhuri_1...@yahoo.com> wrote:

> Hi,
>
> I have two index files. I am searching id1 from Index A and id2 from Index
> B.
> By using id1 (Index A) results , I am searching id2 from Index B. I stored
> these two index files in local file system.
> I am using filter as a result of Index A.
> IndexSearcher.search(Query,filter,10000);
>
> I am running queries individually. Is there any possibility that I can
> combine these two queries into single query. Can I use Multi index search in
> this case ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>

Reply via email to