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

Record soft deletes in SegmentCommitInfo

Details

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

    Description

      This change add the number of documents that are soft deletes but
      not hard deleted to the segment commit info. This is the last step
      towards making soft deletes as powerful as hard deltes since now the
      number of document can be read from commit points without opening a
      full blown reader. This also allows merge posliies to make decisions
      without requiring an NRT reader to get the relevant statistics. This
      change doesn't enforce any field to be used as soft deletes and the statistic
      is maintained per segment.

      Attachments

        1. LUCENE-8341.patch
          63 kB
          Simon Willnauer
        2. LUCENE-8341.patch
          65 kB
          Simon Willnauer
        3. LUCENE-8341.patch
          61 kB
          Simon Willnauer
        4. LUCENE-8341.patch
          59 kB
          Simon Willnauer

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: