Read only

edit

Phases allowed: warm.

Makes the index read-only.

Options

edit

None.

Example

edit
PUT _ilm/policy/my_policy
{
  "policy": {
    "phases": {
      "warm": {
        "actions": {
          "readonly" : { }
        }
      }
    }
  }
}