lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
Subject Re: Remote searcher
Date Wed, 17 Jul 2002 19:49:44 GMT
none none wrote:
> i think we need an RMI implementation of the Searcher , first. After we need a RMI implementation
of a MultiSearcher that is able to collect the hits from each remote searcher we want. I don't
know if there will be any problems with the "score" and how to solve that.

This should be simple.  Mostly we just need is an RMI implementation of 
Searchable.  The remote implementation can use IndexSearcher or 
MultiSearcher.  Also Filter (and perhaps HitCollector, but see below) 
must be made to implement  I think that's all.

To do remote searching, a local MultiSearcher can then be constructed 
with pointers to remote Searchable instances.

Note that the HitCollector API will not work well remotely, since 
callbacks per hit would be very expensive.  Thus the remote 
implementation of search(Query,Filter,HitCollector) could just throw an 
exception, and it could be documented that remote searching only works 
when using the and,Filter). 
  Or we could just make it work, albeit *very* slowly.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message