lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anshum <ansh...@gmail.com>
Subject Re: Multi Index Search Query
Date Mon, 14 Feb 2011 18:23:13 GMT
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_1820@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-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