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

Never count soft-deletes if reader has no hard-deletes

Details

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

    Description

      Today we count the actual soft-deletes during a merge which is
      unnecessary if there are no hard-deletes present. In this case, which
      is considered to be the common case we can get accurate counts by substracting
      the number of deleted docs in the wrapped reader from the number of soft-deletes
      in that reader.

      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 10m
                  1h 10m