You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shai Erera (JIRA)" <ji...@apache.org> on 2013/11/14 17:05:22 UTC

[jira] [Resolved] (LUCENE-5246) SegmentInfoPerCommit continues to list unneeded updatesFiles

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

Shai Erera resolved LUCENE-5246.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0
                   4.6

Committed to 4x under LUCENE-5189.

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