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

Posted by '김용환'
,