Details
Description
With the introduction of soft deletes no every merge claims all documents that are marked as deleted in the segment readers. MergePolicies still need to do accurate accounting in order to select segments for merging and need to decide if segments are merged. This chance allows the merge policy to customize the number of deletes a merge of a segment claims.