lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Miller <markrmil...@gmail.com>
Subject Re: DefaultIndexAccessor
Date Wed, 06 Feb 2008 13:06:20 GMT

>  
> 5. Although currently IndexSearcher.close() does almost nothing except 
> to close the internal index reader, it might be a safer to close 
> searcher itself as well in closeCachedSearcher(), just in case, the 
> searcher may have other resources to release in the future version of 
> Lucene.
Didn't catch that "as well". You are right, great idea Jay, thanks.

---------------------------------------------------------------------
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