IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Delete
editDelete
editPhases allowed: delete.
Permanently removes the index.
Options
edit-
delete_searchable_snapshot
-
(Optional, Boolean)
Deletes the searchable snapshot created in a previous phase.
Defaults to
true
. This option is applicable when the searchable snapshot action is used in any previous phase.
Example
editresponse = client.ilm.put_lifecycle( policy: 'my_policy', body: { policy: { phases: { delete: { actions: { delete: {} } } } } } ) puts response
PUT _ilm/policy/my_policy { "policy": { "phases": { "delete": { "actions": { "delete" : { } } } } } }