删除
编辑删除编辑
允许的阶段:删除。
永久删除索引。
示例编辑
response = 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" : { } } } } } }