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

Add support for soft deletes to IndexWriter delete accounting

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.4, 8.0
    • Fix Version/s: 7.4, 8.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: