wait_for_active_shards(新参数) 在ElasticSearch 5.0中可以用wait_for_active_shards参数表示:等待活动的分片,具体的值和consistency类似,下面用wait_for_active_shards演示一个实际使用的例子。 开始我们先设置一个新的索引: PUT /active {"settings": {"number_of_shards": 3,"number_of_replicas": 3 } } ...
Accept the new behaviour, or specify `?wait_for_active_shards=0` to preserve the old behaviour if needed. === 27 changes: 23 additions & 4 deletions27rest-api-spec/src/main/resources/rest-api-spec/test/indices.open/10_basic.yml Expand...
Since 8.0, the default behavior for closing indices has been to wait for the active shards based on the index setting. The special value index-setting allows users to use this in 7.x as well. We'd ...