To be clear, the SRs created by merges don't have the term index
loaded which is the main cost.  One would need to use
IndexReaderWarmer to load the term index before the new SR becomes a
part of SegmentInfos.
On Wed, Oct 7, 2009 at 10:34 AM, Shalin Shekhar Mangar
<shalinman...@gmail.com> wrote:
> On Wed, Oct 7, 2009 at 10:45 PM, Jason Rutherglen <
> jason.rutherg...@gmail.com> 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.
>
> --
> Regards,
> Shalin Shekhar Mangar.
>

Reply via email to