apache / lucene

Apache Lucene open-source search software
https://lucene.apache.org/
Apache License 2.0
2.61k stars 1.02k forks source link

Fix numDeletesToMerge for unchanged segments #13324

Open dnhatn opened 5 months ago

dnhatn commented 5 months ago

Currently, we do not trigger numDeletesToMerge for unchanged segments that have not yet entered the reader pool. Consequently, there are cases where force merges overlook segments with soft-deletes, as the merge policy only takes into account hard deletes when determining merge specifications.

github-actions[bot] commented 4 months ago

This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the dev@lucene.apache.org list. Thank you for your contribution!