[ 
https://issues.apache.org/jira/browse/LUCENE-5246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13781455#comment-13781455
 ] 

Shai Erera commented on LUCENE-5246:
------------------------------------

Committed this to trunk. Keeping open until the backport to 4x.

> 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
>         Attachments: LUCENE-5246.patch, LUCENE-5246.patch
>
>
> 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