transient 가 있다.
일래스틱서치에는 단일 호출에 여러 속성을 포함할 수 있다.
커맨드의 transient라는 이름은 클러스터를 다시 시작한 후에는 해당 속성을 잊어 버린다는 것을 의미한다.
curl -XPUT 'localhost:9200/_cluster/settings' -d '{
"transient" : {
"cluster.routing.allocation.require.group": "group1"
}
}'
재시작 후에 해당 속성을 잊는 것을 피하고 영구적으로 설정하려면 transient 속성 대신 persistent를 사용한다.
curl -XPUT 'localhost:9200/_cluster/settings' -d '{
"persistent" : {
"cluster.routing.allocation.require.group": "group1"
}
}'
https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-update-settings.html
'Elasticsearch' 카테고리의 다른 글
[elasticsearch5] yaml 응답 보기 (0) | 2017.06.06 |
---|---|
[elasticsearch 5] 저장소 타입(store type) (0) | 2017.05.31 |
[elasticsearch 5] 라우팅(routing)를 이용한 데이터 저장 (0) | 2017.05.24 |
[elasticsearch 5] _cat/nodes (0) | 2017.05.23 |
[elasticsearch 5] bootstrap 검사 (0) | 2017.05.22 |