This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Unfreeze index API
editUnfreeze index API
editDeprecated in 7.14
In 8.0, we removed the ability to freeze an index. In previous versions, freezing an index reduced its memory overhead. However, frozen indices are no longer useful due to recent improvements in heap memory usage. You can use this API to unfreeze indices that were frozen in 7.x. Frozen indices are not related to the frozen data tier.
Unfreezes an index.
Request
editPOST /<index>/_unfreeze
Prerequisites
edit-
If the Elasticsearch security features are enabled, you must have the
manage
index privilege for the target index or index alias.
Description
editWhen a frozen index is unfrozen, the index goes through the normal recovery process and becomes writeable again.
Path parameters
edit-
<index>
- (Required, string) Identifier for the index.
Examples
editThe following example unfreezes an index:
resp = client.indices.unfreeze( index="my-index-000001", ) print(resp)
response = client.indices.unfreeze( index: 'my-index-000001' ) puts response
const response = await client.indices.unfreeze({ index: "my-index-000001", }); console.log(response);
POST /my-index-000001/_unfreeze