Spec-Zone.ru › Elasticsearch 8
›Elasticsearch Guide [8.17] ›REST APIs ›Index APIs

Unfreeze index API

Deprecated 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.

New API reference

For the most up-to-date API details, refer to Index APIs.

Unfreezes an index.

Request

POST /<index>/_unfreeze

Prerequisites

  • If the Elasticsearch security features are enabled, you must have the manage index 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.

Path parameters

<index>
(Required, string) Identifier for the index.

Examples

The following example unfreezes an index:

response = client.indices.unfreeze(
  index: 'my-index-000001'
)
puts response
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/8.17/unfreeze-index-api.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API