原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/unfreeze-index-api.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/unfreeze-index-api.html
本地英文版地址: ../en/unfreeze-index-api.html
重要: 此版本不会发布额外的bug修复或文档更新。最新信息请参考 当前版本文档。
Unfreeze index APIedit
Unfreezes an index.
Requestedit
POST /<index>/_unfreeze
Descriptionedit
When a frozen index is unfrozen, the index goes through the normal recovery process and becomes writeable again. See Frozen indices and Freeze index.
Freezing an index will close the index and reopen it within the same API call. This causes primaries to not be allocated for a short amount of time and causes the cluster to go red until the primaries are allocated again. This limitation might be removed in the future.
Path parametersedit
-
<index>
- (Required, string) Identifier for the index.
Examplesedit
The following example freezes and unfreezes an index:
POST /my_index/_freeze POST /my_index/_unfreeze