A newer version is available. For the latest information, see the
current release documentation.
Freeze
editFreeze
editPhases allowed: cold.
Freezes an index.
Freezing an index closes the index and reopens it within the same API call. This means that for a short time no primaries are allocated. The cluster will go red until the primaries are allocated. This limitation might be removed in the future.
Options
editNone.
Example
editPUT _ilm/policy/my_policy { "policy": { "phases": { "cold": { "actions": { "freeze" : { } } } } } }