lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: hot swapping searchers
Date Wed, 03 Aug 2005 18:19:26 GMT
Hi Stanislav,

Try it, but I think it won't work if document IDs don't match in the
old and new Index(Searcher).

Otis

--- Stanislav Jordanov <stenly@sirma.bg> wrote:

> A Hits object holds a reference to a Searcher and uses it to retrieve
> 
> docs not in the cache list.
> Is it ok if I modify the Hits object in a way that it may have its 
> searcher replaced,
> i.e. introduce a:
> *setSearcher(Searcher s) { this.searcher = s; }*
> method and invoke it (syncronously) between invokations of *doc(n)*


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Simpy -- http://www.simpy.com/ -- Find it. Tag it. Share it.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message