index_not_found_exception: index_not_found_exception: no such index [index_name] (HTTP 404)
ElasticsearchNe demek?
İstenen index (veya alias) mevcut değil. Belirtilen ada sahip bir index bulunamadığı için işlem HTTP 404 ile reddedildi.
Neden olur?
Index'in hiç oluşturulmamış olması, silinmiş olması, index/alias adında yazım hatası, yanlış ortama (cluster) bağlanma veya action.auto_create_index kapalıyken var olmayan index'e yazma denemesi.
Nasıl çözülür?
Var olan index'leri listeleyin: GET _cat/indices?v. Adı ve alias'ı doğrulayın: GET _alias. Index'i oluşturun: PUT /index-adi (gerekli mapping/settings ile) veya bir index template ile otomatik oluşturmayı yapılandırın. Otomatik oluşturma isteniyorsa action.auto_create_index ayarını kontrol edin. Yanlış cluster'a bağlanmadığınızı doğrulayın.
Aynı motorda diğer kayıtlar
- too_many_clausestoo_many_clauses: maxClauseCount is set to 1024 (query contains too many clauses)
- version_conflict_engine_exceptionversion_conflict_engine_exception: [_doc][id]: version conflict, current version [x] is different than the one provided [y] (HTTP 409)
- document_missing_exceptiondocument_missing_exception: [_doc][id]: document missing
- resource_already_exists_exceptionresource_already_exists_exception: index [index_name/uuid] already exists (HTTP 400)
- cluster_health_redcluster health status: RED / unassigned shards
- no_shard_available_action_exceptionno_shard_available_action_exception: No shard available for [...]
- es_rejected_execution_exceptiones_rejected_execution_exception: rejected execution of ... on ... (queue capacity ...) (HTTP 429)