Skip to content

Confusion over codec parameter to ILM force-merge action #57034

Closed
@DaveCTurner

Description

@DaveCTurner

In #49974 we added support for changing to the best_compression codec in ILM's force-merge action, but it seems that the parameter in the REST API is actually index_codec and not codec as per the docs:

public static final ParseField CODEC = new ParseField("index_codec");

This means the docs for 7.7 are wrong (see #55978). I think index_codec is an unfortunate choice of name and it would be preferable to change it to codec even though it's now a breaking change so we'd have to do the whole deprecation dance to achieve that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions