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

Extract utility class to iterate over terms docs

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.7, 8.0
    • None
    • None
    • New

    Description

      Today we re-implement the same algorithm in various places
      when we want to consume all docs for a set/list of terms. This
      caused serious slowdowns for instance in the case of applying
      updates fixed in LUCENE-8602. This change extracts the common
      usage and shares the interation code including logic to reuse
      Terms and PostingsEnum instances as much as possble and adds
      tests for it.

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

                Time Tracking

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