Skip to content

[Feature Request] add wait_for_completion to index open command #20937

@shaharmor

Description

@shaharmor

Describe the feature:
When opening an index using the _open command, its sometimes needed to wait for the index to be fully opened and usable before running additional commands on the index.

For example, when trying to compress an index using the codec: "best_compressions" index config, you need to first close the index, change the setting, open the index, and then forcemerge it for the compression to take effect.

If you run both the open command and the forcemerge command one after the other in the same script, the forcemerge will exit instantly (probably because the index is not yet "loaded" or something).

It would be great to add the wait_for_completion query parameter like in other commands so that it will be possible to synchronously wait for the opening to complete.

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