[ 
https://issues.apache.org/jira/browse/LUCENE-2300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael McCandless resolved LUCENE-2300.
----------------------------------------

    Resolution: Fixed

> 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: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to