创建索引的时候设置PUT twitter { "settings" : { "index" : { "number_of_shards" : 3, "number_of_replicas" : 2 } } }
注意把分片大小控制在50GB左右
配置ES的分片数
原文:https://www.cnblogs.com/luoyufei012/p/13559042.html