Re: Multi Index Search Query

2011-06-05 Thread NhungLe
Hi all, I have the same problem with Madhu, that i want to search over multi indexes and over different fields. Example: my search text: "lucene multi indexes", i want to search in index A (field: content1) and B (field: content2), and the each result must contains "lucene multi indexes". I tri

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