lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-3143) SegmentMerger should assert .del and .s* files are not passed to createCompoundFile
Date Wed, 25 May 2011 11:36:47 GMT
SegmentMerger should assert .del and .s* files are not passed to createCompoundFile
-----------------------------------------------------------------------------------

                 Key: LUCENE-3143
                 URL: https://issues.apache.org/jira/browse/LUCENE-3143
             Project: Lucene - Java
          Issue Type: Bug
          Components: core/index
            Reporter: Shai Erera
            Assignee: Shai Erera
            Priority: Minor
             Fix For: 3.2, 4.0


Spinoff from LUCENE-3126. SegmentMerger.createCompoundFile does not document that it should
not receive files that are not included in the .cfs, such as .del and .s* (separate norms).
Today, that method is called from code which ensures that, but we should:
# Add some documentation to clarify that.
# Add some asserts so that if a test (or other code, running w/ -ea) does that, we catch it.

Will post a patch soon

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message