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: [jira] Issue Comment Edited: (SOLR-561) Solr replication by Solr (for windows also)
Date Thu, 17 Jul 2008 05:00:48 GMT
On Thu, Jul 17, 2008 at 12:51 AM, Noble Paul നോബിള്‍ नोब्ळ्
<noble.paul@gmail.com> wrote:
> Good catch . but it is not obvious that the refCount was incremented .
> Should we not have a method to return the searcher without
> incrementing the refcount?

Without the refcount incremented, you have no guarantees that the
searcher won't be closed in another thread before you have a chance to
do anything with it.

-Yonik
Mime
View raw message