lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENE-2300) IndexWriter should never pool readers for external segments
Date Sun, 07 Mar 2010 14:57:27 GMT
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


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


Mime
View raw message