Re: Multi Index Search Query

2011-06-05 Thread NhungLe
i indexes". I tried to use MultiSearcher but I found that MultiSearcher returns the "OR" results not "AND" Dose any one know how lucene can do it? or suggest me another way to do it? Thanks, -- View this message in context: http://lucene.472066.n3.nabble.com/Multi-I

Re: Multi Index Search Query

2011-02-15 Thread findbestopensource
I don't think so, you could combine the queries. You are first searching Index A and the results are given as input to Index B. You cannot combine the queries and you cannot use multi searcher or parallel multi searcher. You need to search two indexes independently and sequentially. Regards Aditya

Re: Multi Index Search Query

2011-02-15 Thread Erick Erickson
This is usually something you should not do. Is there any possibility you can combine these indexes into one? Maybe sharded? Because this approach is almost guaranteed to scale poorly. This smells like an XY problem, perhaps you can back up and explain what the higher-level problem you're trying t

Re: Multi Index Search Query

2011-02-14 Thread Anshum
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, 20

Multi Index Search Query

2011-02-14 Thread madhuri_1820
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,1); I am runnin