mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-05 20:48:22 +00:00
100d2bd063
* [DOCS] Editorial cleanup * Moved example of applying a template to multiple indices. * Combine existing indices topics * Fixed test * Add skip rollover file. * Revert rename. * Update include. * Revert rename * Apply suggestions from code review Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Lee Hinman <dakrone@users.noreply.github.com> * Apply suggestions from code review * Fixed callout * Update docs/reference/ilm/ilm-with-existing-indices.asciidoc Co-authored-by: Lee Hinman <dakrone@users.noreply.github.com> * Update docs/reference/ilm/ilm-with-existing-indices.asciidoc Co-authored-by: Lee Hinman <dakrone@users.noreply.github.com> * Apply suggestions from code review * Restored policy to template example. * Fixed JSON parse error Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Lee Hinman <dakrone@users.noreply.github.com> Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Lee Hinman <dakrone@users.noreply.github.com>
38 lines
739 B
Plaintext
38 lines
739 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" : { }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
--------------------------------------------------
|
|
|