mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 04:58:50 +00:00
8a662c7e62
* [DOCS] Rework conceptual info for ILM. (#52181) * [DOCS] Rework conceptual info for ILM. * Split the actions out of concepts. * Added xpack role to actions. Co-Authored-By: James Rodewig <james.rodewig@elastic.co> * Apply suggestions from code review * Edit actions for consistency and add action template. (#55632) * Edit actions for consistency and add action template. * Update docs/reference/ilm/actions/ilm-readonly.asciidoc Co-Authored-By: James Rodewig <james.rodewig@elastic.co> * Apply suggestions from code review
41 lines
810 B
Plaintext
41 lines
810 B
Plaintext
[role="xpack"]
|
|
[[ilm-freeze]]
|
|
=== Freeze
|
|
|
|
Phases allowed: cold.
|
|
|
|
<<frozen-indices, Freezes>> an index to minimize its memory footprint.
|
|
|
|
[IMPORTANT]
|
|
================================
|
|
Freezing an index closes the index and reopens it within the same API call.
|
|
This means that for a short time no primaries are allocated.
|
|
The cluster will go red until the primaries are allocated.
|
|
This limitation might be removed in the future.
|
|
================================
|
|
|
|
[[ilm-freeze-options]]
|
|
==== Options
|
|
|
|
None.
|
|
|
|
[[ilm-freeze-ex]]
|
|
==== Example
|
|
|
|
[source,console]
|
|
--------------------------------------------------
|
|
PUT _ilm/policy/my_policy
|
|
{
|
|
"policy": {
|
|
"phases": {
|
|
"cold": {
|
|
"actions": {
|
|
"freeze" : { }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
--------------------------------------------------
|
|
|