Re: SolrCore.getSearcher() and postCommit()

2010-10-30 Thread Grant Ingersoll
On Oct 29, 2010, at 5:48 PM, Yonik Seeley wrote: > On Fri, Oct 29, 2010 at 5:36 PM, Grant Ingersoll wrote: >> Is it OK to call and increment a Searcher ref (i.e. SolrCore.getSearcher()) >> in a SolrEventListener.postCommit() hook as long as I decrement it when I am >> done? I need to get a ha

Re: SolrCore.getSearcher() and postCommit()

2010-10-29 Thread Yonik Seeley
On Fri, Oct 29, 2010 at 5:36 PM, Grant Ingersoll wrote: > Is it OK to call and increment a Searcher ref (i.e. SolrCore.getSearcher()) > in a SolrEventListener.postCommit() hook as long as I decrement it when I am > done?  I need to get a handle on an IndexReader so I can dump out a portion > of

SolrCore.getSearcher() and postCommit()

2010-10-29 Thread Grant Ingersoll
Is it OK to call and increment a Searcher ref (i.e. SolrCore.getSearcher()) in a SolrEventListener.postCommit() hook as long as I decrement it when I am done? I need to get a handle on an IndexReader so I can dump out a portion of the index to an external process. Thanks, Grant