获取所有索引
 GET _cat/indices?index=*
 查看所有模板,如果数据量多的话,可以进行纵向分表,例如按照日期将索引分开,然后通过建模板,配置索引的参数
 GET _cat/templates
 查看模板详情
 GET _template/模板名称
 获取集群的健康状态
 GET /_cluster/health?level=indices
 获取分片的状态
 GET _cat/shards?v
 查看unassigned的原因,通过查看原因也能得到问题的解决方案
 GET /_cluster/allocation/explain
refresh_interval
 刷盘时间,数据实时性的延迟
配置分片数:一般来说内存每G最多20个,每个分片数据大概在20G到50G
 number_of_shards
 配置副本数:一般1就行,需要更高的可靠性可以设置为3
 number_of_replicas
 设置索引每个节点最大的分片数:规则下面的数要大于分片数(包括副本)/集群集群节点数
 index.routing.allocation.total_shards_per_node