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

Add support for soft deletes to IndexWriter delete accounting

    XMLWordPrintableJSON

Details

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

    Description

      This change adds support for soft deletes as a fully supported feature by the index writer. Soft deletes are accounted for inside the index writer and therefor also by merge policies.

      This change also adds a SoftDeletesRetentionMergePolicy that allows users to selectively carry over soft_deleted document across merges for retention policies. The merge policy selects documents that should be kept around in the merged segment based on a user provided query.

      Attachments

        1. LUCENE-8232.patch
          102 kB
          Simon Willnauer
        2. LUCENE-8233.patch
          90 kB
          Simon Willnauer
        3. LUCENE-8233.patch
          81 kB
          Simon Willnauer
        4. LUCENE-8233.patch
          82 kB
          Simon Willnauer

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: