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 2014/03/19 13:29:46 UTC

[jira] [Resolved] (LUCENE-5539) Simplify IndexWriter.commitMergedDeletesAndUpdates

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

Shai Erera resolved LUCENE-5539.
--------------------------------

    Resolution: Fixed

Committed to trunk and 4x.

> Simplify IndexWriter.commitMergedDeletesAndUpdates
> --------------------------------------------------
>
>                 Key: LUCENE-5539
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5539
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/index
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>            Priority: Minor
>             Fix For: 4.8, 5.0
>
>         Attachments: LUCENE-5539.patch
>
>
> IW.commitMergedDeletes could use some simplification. For example, if we factor out a holder class for {{mergedDeletesAndUpdates}} and {{docMap}}, we can factor out a lot of the duplicated logic into a single method. I'll attach a patch shortly.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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