Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-9276

Consolidate DW(PT)#updateDocument and #updateDocuments

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 9.0, 8.5
    • None
    • None
    • None
    • New

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              simonw Simon Willnauer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h