lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: Is close() correct?
Date Thu, 25 Jun 2009 19:51:44 GMT
On Thu, Jun 25, 2009 at 3:47 PM, Michael
McCandless<lucene@mikemccandless.com> wrote:
> Since close() is just a protected ("only once") call to decRef(), you
> could simply always call decRef() and never close()?

Yep, just re-read the javadoc to decRef()... as long as it stays that
way, solr will just avoid close().
I'll open a solr issue to fix.

-Yonik
htp://www.lucidimagination.com

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


Mime
View raw message