lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <yo...@apache.org>
Subject Re: Implication of not calling closeSearcher() in DirectUpdateHandler2?
Date Mon, 24 Sep 2007 14:44:34 GMT
On 9/24/07, climbingrose <climbingrose@gmail.com> wrote:
> Thanks for the clarifications, Yonik. The other thing I notice is
> openSearcher() only creates a SolrIndexSearcher without cache (useCache =
> false). Therefore, when I try to use generic cache defined in
> solrconfig.xml, SolrIndexSearcher.getCache() method returns null. Would it
> be OK to turn on searcher cache?

You would get autowarming, etc, by default though - not what you want
from a searcher that is  only used for deletions.

What problem are you trying to solve that requires directly using or
modifying DUH2?

-Yonik

Mime
View raw message