lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael-O" <1983-01...@gmx.net>
Subject Re: How to correctly use SearcherManager#close?
Date Fri, 02 Nov 2012 08:27:36 GMT
> That would be great!
> 
> Hmm which version are you looking at?  In 4.0 it currently says this:
> 
>   /**
>    * Close this ReferenceManager to future {@link #acquire() acquiring}.
> Any
>    * references that were previously {@link #acquire() acquired} won't be
>    * affected, and they should still be {@link #release released} when
> they are
>    * not needed anymore.
>    */
> 
> How would you improve it?

Hi Mike,

I am on 3.6.1. The first sentence is not really clear. Maybe to native speakers but not to
me. It does not clearly say: Close the Mananger when your app shuts down or when you want
to dispose that index.

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


Mime
View raw message