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-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to