You have to implement it yourself. Lucene 3.3 will provide some additions to
IndexSearcher to merge TopDocs results from different searchers, but
collecting those results and transferring over the network is your task. Or
simply use Solr (which is an implementation, to exactly do that). This new
API does not have the problems MultiSearcher had as it uses no global IDF
and does not try to make scores compatible between searchers to merge. These
algorithms caused major bugs.

The new interface is https://issues.apache.org/jira/browse/LUCENE-3191

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de


> -----Original Message-----
> From: Israel Tsadok [mailto:itsa...@gmail.com]
> Sent: Thursday, June 16, 2011 4:42 PM
> To: java-user@lucene.apache.org
> Subject: Re: RemoteSearchable deprecated. What to replace it with?
> 
> Thanks for answering.
> If I understand it correctly, I can use IndexSearcher concurrently over
many
> IndexReaders. But since there's no RemoteIndexReader, I'm still left with
the
> same basic problem. How to I search across several servers?


---------------------------------------------------------------------
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