[
https://issues.apache.org/jira/browse/LUCENE-2300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael McCandless updated LUCENE-2300:
---------------------------------------
Attachment: LUCENE-2300.patch
> IndexWriter should never pool readers for external segments
> -----------------------------------------------------------
>
> Key: LUCENE-2300
> URL: https://issues.apache.org/jira/browse/LUCENE-2300
> Project: Lucene - Java
> Issue Type: Bug
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: 3.1
>
> Attachments: LUCENE-2300.patch
>
>
> EG when addIndexes is called, it enrolls external segment infos, which are
> then merged. But merging will simply ask the pool for the readers, and if
> writer is pooling (NRT reader has been pooled) it incorrectly pools these
> readers.
> It shouldn't break anything but it's a waste because these readers are only
> used for merging, once, and they are not opened by NRT reader.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]