原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/ilm-freeze.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/ilm-freeze.html
本地英文版地址: ../en/ilm-freeze.html
重要: 此版本不会发布额外的bug修复或文档更新。最新信息请参考 当前版本文档。
Freezeedit
Phases allowed: cold.
Freezes an index to minimize its memory footprint.
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.
Optionsedit
None.
Exampleedit
PUT _ilm/policy/my_policy { "policy": { "phases": { "cold": { "actions": { "freeze" : { } } } } } }