PUT nginx-2017.01.17/_settings
{
"index.number_of_shards" : 2,
"number_of_replicas" : 1
}
返回的错误信息如下:
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "can't change the number of shards for an index"
}
],
"type": "illegal_argument_exception",
"reason": "can't change the number of shards for an index"
},
"status": 400
}