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 05:12:42 UTC

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

Shai Erera created LUCENE-5539:
----------------------------------

             Summary: 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


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