[jira] [Commented] (LUCENE-8253) ForceMergeDeletes does not merge soft-deleted segments

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (LUCENE-8253) ForceMergeDeletes does not merge soft-deleted segments

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/LUCENE-8253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16439570#comment-16439570 ]

Erick Erickson commented on LUCENE-8253:


I'm deep in the guts of TieredMergePolicy for LUCENE-7976 so wanted to check something. I took a _very_ quick scan through the patch and it doesn't look like this affects TieredMergePolicy at all. do you agree? All the work in TMP is just around creating a list of segments to merge and returning them to the serious merging code...

> ForceMergeDeletes does not merge soft-deleted segments
> ------------------------------------------------------
>                 Key: LUCENE-8253
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8253
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 7.4, master (8.0)
>            Reporter: Nhat Nguyen
>            Priority: Major
>         Attachments: LUCENE-8253.patch, test-merge.patch
> 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.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]