2020-04-28 19:38:01 -04:00
|
|
|
[role="xpack"]
|
|
|
|
[testenv="basic"]
|
|
|
|
[[ilm-actions]]
|
|
|
|
== Index lifecycle actions
|
|
|
|
|
|
|
|
[[ilm-allocate-action]]
|
|
|
|
<<ilm-allocate,Allocate>>::
|
|
|
|
Move shards to nodes with different performance characteristics
|
|
|
|
and reduce the number of replicas.
|
|
|
|
|
|
|
|
[[ilm-delete-action]]<<ilm-delete,Delete>>::
|
|
|
|
Permanently remove the index.
|
|
|
|
|
2020-06-05 21:55:51 -04:00
|
|
|
[[ilm-forcemerge-action]]<<ilm-forcemerge,Force merge>>::
|
2020-04-28 19:38:01 -04:00
|
|
|
Reduce the number of index segments and purge deleted documents.
|
|
|
|
Makes the index read-only.
|
|
|
|
|
|
|
|
[[ilm-freeze-action]]<<ilm-freeze,Freeze>>::
|
|
|
|
Freeze the index to minimize its memory footprint.
|
|
|
|
|
2020-06-05 21:55:51 -04:00
|
|
|
[[ilm-readonly-action]]<<ilm-readonly,Read only>>::
|
2020-04-28 19:38:01 -04:00
|
|
|
Block write operations to the index.
|
|
|
|
|
|
|
|
[[ilm-rollover-action]]<<ilm-rollover,Rollover>>::
|
|
|
|
Remove the index as the write index for the rollover alias and
|
|
|
|
start indexing to a new index.
|
|
|
|
|
2020-06-30 07:24:35 -04:00
|
|
|
ifdef::permanently-unreleased-branch[]
|
2020-06-05 21:55:51 -04:00
|
|
|
[[ilm-searchable-snapshot-action]]<<ilm-searchable-snapshot, Searchable snapshot>>::
|
2020-04-28 19:38:01 -04:00
|
|
|
Take a snapshot of the managed index in the configured repository
|
|
|
|
and mount it as a searchable snapshot.
|
2020-06-30 07:24:35 -04:00
|
|
|
endif::[]
|
2020-04-28 19:38:01 -04:00
|
|
|
|
2020-06-05 21:55:51 -04:00
|
|
|
[[ilm-set-priority-action]]<<ilm-set-priority,Set priority>>::
|
2020-04-28 19:38:01 -04:00
|
|
|
Lower the priority of an index as it moves through the lifecycle
|
|
|
|
to ensure that hot indices are recovered first.
|
|
|
|
|
|
|
|
[[ilm-shrink-action]]<<ilm-shrink,Shrink>>::
|
|
|
|
Reduce the number of primary shards by shrinking the index into a new index.
|
|
|
|
|
|
|
|
[[ilm-unfollow-action]]<<ilm-unfollow,Unfollow>>::
|
|
|
|
Convert a follower index to a regular index.
|
2020-06-30 07:24:35 -04:00
|
|
|
ifdef::permanently-unreleased-branch[]
|
|
|
|
Performed automatically before a rollover or shrink action.
|
|
|
|
endif::[]
|
|
|
|
ifndef::permanently-unreleased-branch[]
|
2020-04-28 19:38:01 -04:00
|
|
|
Performed automatically before a rollover, shrink, or searchable snapshot action.
|
2020-06-30 07:24:35 -04:00
|
|
|
endif::[]
|
2020-04-28 19:38:01 -04:00
|
|
|
|
2020-06-05 21:55:51 -04:00
|
|
|
[[ilm-wait-for-snapshot-action]]<<ilm-wait-for-snapshot,Wait for snapshot>>::
|
2020-04-28 19:38:01 -04:00
|
|
|
Ensure that a snapshot exists before deleting the index.
|
|
|
|
|
|
|
|
include::actions/ilm-allocate.asciidoc[]
|
|
|
|
include::actions/ilm-delete.asciidoc[]
|
|
|
|
include::actions/ilm-forcemerge.asciidoc[]
|
|
|
|
include::actions/ilm-freeze.asciidoc[]
|
|
|
|
include::actions/ilm-readonly.asciidoc[]
|
|
|
|
include::actions/ilm-rollover.asciidoc[]
|
2020-06-30 07:24:35 -04:00
|
|
|
ifdef::permanently-unreleased-branch[]
|
2020-04-28 19:38:01 -04:00
|
|
|
include::actions/ilm-searchable-snapshot.asciidoc[]
|
2020-06-30 07:24:35 -04:00
|
|
|
endif::[]
|
2020-04-28 19:38:01 -04:00
|
|
|
include::actions/ilm-set-priority.asciidoc[]
|
|
|
|
include::actions/ilm-shrink.asciidoc[]
|
|
|
|
include::actions/ilm-unfollow.asciidoc[]
|
|
|
|
include::actions/ilm-wait-for-snapshot.asciidoc[]
|