Skip to content

Remove max_num_segments from _forcemerge #32323

@jpountz

Description

@jpountz

The _forcemerge API has a max_num_segments whose only useful value is 1. It also has the drawback of potentially conflicting with the maximum merged segment size (index.merge.policy.max_merged_segment).

We could remove the max_num_segments setting and make _forcemerge merge down to the minimum number of segments that honors the maximum merged segment size.

Marking as a blocker because of interactions with https://issues.apache.org/jira/browse/LUCENE-7976.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions