You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Marc Guillemot <mg...@yahoo.fr> on 2003/04/10 10:51:12 UTC

Searcher pool

Hi,

I would like to use a searcher pool or something like that to avoid opening
and closing an IndexSearcher for each query. I've read with interest the
mail:
http://www.mail-archive.com/lucene-dev@jakarta.apache.org/msg01358.html

but I think such a wrapper is hasardous as long
Searcher.search(org.apache.lucene.search.Query) is final and not documented
as facility calling an other method:
http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/Searcher.
html#search(org.apache.lucene.search.Query)

Has someone here some experience using such a pool?

Marc.




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