一旦 mapping 创建好 ,只能修改 副本 个数
curl -XPUT 'http://localhost:9200/addata_mid/_settings' -d '{
"index":{"number_of_replicas" : 0}
}'
一旦 mapping 创建好 ,只能修改 副本 个数
curl -XPUT 'http://localhost:9200/addata_mid/_settings' -d '{
"index":{"number_of_replicas" : 0}
}'