Unfreeze index API
Deprecated in 7.14.
Frozen indices are no longer useful due to recent improvements in heap memory usage.
Unfreezes an index.
Request
POST /<index>/_unfreeze
Prerequisites
- If the Elasticsearch security features are enabled, you must have the
manageindex privilege for the target index or index alias.
Description
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 parameters
-
<index> - (Required, string) Identifier for the index.
Examples
The following example freezes and unfreezes an index:
POST /my-index-000001/_freeze POST /my-index-000001/_unfreeze
© 2023-2025 Elasticsearch
As of September 2024, Elasticsearch is available under a choice of three licenses: the Server Side Public License (SSPL), the Elastic License, or the AGPLv3 (OSI approved).
Elasticsearch and the Elasticsearch logo are trademarks of Elasticsearch B.V., registered in the U.S. and in other countries.
https://www.elastic.co/guide/en/elasticsearch/reference/7.17/unfreeze-index-api.html