The CSS lifecycle is implemented using the Index State Management (ISM) of Open Distro. For details about how to configure policies related to the ISM template, see the Open Distro documentation.
GET _opendistro/_ism/explain/data2 { "data2" : { "index.opendistro.index_state_management.policy_id" : "policy1" } }
Open Distro will execute an initialization process to fill the policy content in the record. The following figure shows the initialized data.
After the initialization, min_index_age in the policy will be copied.
The initialized index uses a copy of this policy. The policy update will not take effect on the index.
POST _opendistro/_ism/change_policy/data1 { "policy_id": "policy1" }