lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: How much disk space does optimize really take
Date Wed, 07 Oct 2009 18:59:06 GMT
On Wed, Oct 7, 2009 at 1:34 PM, Shalin Shekhar Mangar
<> wrote:
> On Wed, Oct 7, 2009 at 10:45 PM, Jason Rutherglen <
>> wrote:
>> It would be good to be able to commit without opening a new
>> reader however with Lucene 2.9 the segment readers for all
>> available segments are already created and available via
>> getReader which manages the reference counting internally.
>> Using reopen redundantly creates SRs that are already held
>> internally in IW.
> Jason, I think this is something we should consider changing. A user who is
> not using NRT features should not pay the price of keeping readers opened.
> We are also interested in opening a searcher just-in-time for SOLR-1293. We
> have use-cases where a SolrCore is loaded only for indexing and then
> unloaded.

This is already true today.

If you don't use NRT then the readers are not held open by Lucene.


View raw message