settings_exception: Invalid settings
Elasticsearch의미
지정한 설정이 유효하지 않아 작업이 거부되었다. 인덱스 또는 클러스터 설정을 적용할 때 설정 이름, 값, 또는 해당 컨텍스트에서 변경 가능한지 여부에 문제가 있다.
원인
알 수 없거나 철자가 틀린 설정 이름, 잘못된 타입이거나 허용 범위를 벗어난 값, 인덱스 생성 시에만 설정할 수 있는 정적 설정(예: number_of_shards)을 운영 중인 인덱스에서 변경하려는 시도, 제거되었거나 이름이 바뀐 설정 사용이 원인이다.
해결 방법
설정 이름과 값을 문서와 대조해 검증한다. 운영 중인 인덱스의 동적 설정 갱신: PUT my-index/_settings {"index.number_of_replicas": 2}. 정적 설정(예: number_of_shards)은 생성 시에만 설정되며, 변경하려면 reindex가 필요하다. 현재 설정 확인: GET my-index/_settings.
같은 데이터베이스의 다른 항목
- aliases_not_found_exceptionAliases missing
- snapshot_missing_exceptionSnapshot is missing
- index_template_missing_exceptionIndex template is missing
- shard_not_found_exceptionShard not found
- not_x_content_exceptionCompressor detection error / body is not valid content (압축 감지 오류 / 본문이 유효한 콘텐츠가 아님)
- document_source_missing_exceptionDocument source is missing
- node_not_connected_exceptionNode is not connected