index_closed_exception: index_closed_exception
ElasticsearchWhat does it mean?
The target index is closed. A closed index does not serve read/write requests, so the operation could not be performed.
Why does it happen?
The index was previously closed with the close API, closed during maintenance/ILM operations, or deactivated to save resources.
How to fix it
Reopen the index: POST /index_name/_open. After opening, wait for the shards to be allocated (green/yellow). Investigate why the index was closed (ILM policy, manual action). Review the strategy of keeping rarely accessed indices closed.
More from this engine
- validation_exceptionvalidation_exception / illegal_argument_exception: Validation Failed: ...
- task_cancelled_exceptiontask_cancelled_exception: Task was cancelled / TaskCancelledException
- action_request_validation_exceptionaction_request_validation_exception
- unavailable_shards_exceptionunavailable_shards_exception
- query_shard_exceptionquery_shard_exception
- script_exceptionscript_exception
- number_format_exceptionnumber_format_exception