elasticsearch adjustment parameters Scheduling - copy fragment

1. a copy of the

curl -H 'Content-type:application/json' -XPUT '10.0.0.205:9200/*/_settings' -d ' { "index" : { "number_of_replicas" : 0 } } '

2. fragment

curl -H 'Content-type:application/json' -XPUT '10.0.0.205:9200/*/_settings' -d ' { "index" : { "number_of_shards" : 2 } } '

Guess you like

Origin www.cnblogs.com/hixiaowei/p/12190774.html