You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Simon Willnauer (Jira)" <ji...@apache.org> on 2020/03/12 18:28:00 UTC

[jira] [Created] (LUCENE-9276) Consolidate DW(PT)#updateDocument and #updateDocuments

Simon Willnauer created LUCENE-9276:
---------------------------------------

             Summary: Consolidate DW(PT)#updateDocument and #updateDocuments
                 Key: LUCENE-9276
                 URL: https://issues.apache.org/jira/browse/LUCENE-9276
             Project: Lucene - Core
          Issue Type: Improvement
    Affects Versions: master (9.0), 8.5
            Reporter: Simon Willnauer


While I was working on another IW related issue I made some changes to DW#updateDocument but forgot DW#updateDocuments which is annoying since the code is 99% identical. The same applies to DWPT#updateDocument[s]. IMO this is the wrong place to optimize in order to safe one or two object creations. Maybe we can remove this code duplication.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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