lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stanislav Jordanov <ste...@sirma.bg>
Subject hot swapping searchers
Date Wed, 03 Aug 2005 11:37:07 GMT
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)*


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