Shai Erera created LUCENE-5246:
----------------------------------

             Summary: SegmentInfoPerCommit continues to list unneeded 
updatesFiles
                 Key: LUCENE-5246
                 URL: https://issues.apache.org/jira/browse/LUCENE-5246
             Project: Lucene - Core
          Issue Type: Bug
          Components: core/index
            Reporter: Shai Erera
            Assignee: Shai Erera


SegmentInfoPerCommit continues to list updates files even if they are unneeded 
anymore. For example, if you update the values of documents of field 'f', it 
creates a gen'd .fnm (FieldInfos) file. If you commit/reopen and update the 
field again (maybe now a different set of documents), it creates another gen'd 
.fnm, but continues to list both gens, even though only the latest one is 
needed.

To solve this, SIPC would need to know then dvGen of each FieldInfo, so that it 
can correctly list only the updates files that are truly needed. I'll work on a 
testcase and fix.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to