IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Unfreeze index APIedit
Deprecated in 7.14.
Frozen indices are no longer useful due to recent improvements in heap memory usage.
Unfreezes an index.
Requestedit
POST /<index>/_unfreeze
Prerequisitesedit
-
If the Elasticsearch security features are enabled, you must have the
manage
index privilege for the target index or index alias.
Descriptionedit
When a frozen index is unfrozen, the index goes through the normal recovery process and becomes writeable again. See 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-000001/_freeze POST /my-index-000001/_unfreeze