index_closed_exception: index_closed_exception
Elasticsearch含义
目标索引已关闭。已关闭的索引不响应读/写请求,因此无法执行该操作。
原因
索引之前已通过 close API 关闭、在维护/ILM 操作期间被关闭,或为节省资源而被停用。
解决方法
重新打开索引:POST /index_name/_open。打开后,等待分片分配完成(green/yellow)。调查索引被关闭的原因(ILM 策略、手动操作)。重新审视让很少访问的索引保持关闭的策略。
同一数据库的其他条目
- 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