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

ForceMergeDeletes does not merge soft-deleted segments

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.4, master (8.0)
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      IndexWriter#forceMergeDeletes should merge segments having soft-deleted documents as hard-deleted documents if we configured "softDeletesField" in an IndexWriterConfig.

      Attached is a failed test.

        Attachments

        1. LUCENE-8253.patch
          26 kB
          Simon Willnauer
        2. test-merge.patch
          2 kB
          Nhat Nguyen

          Activity

            People

            • Assignee:
              simonw Simon Willnauer
              Reporter:
              dnhatn Nhat Nguyen
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: