创建索引的时候设置PUT twitter { "settings" : { "index" : { "number_of_shards" : 3, "number_of_replicas" : 2 } } }
注意把分片大小控制在50GB左右