我将数据上传到了我的单个节点群集,并将该索引命名为“gequest”。Elasticsearch:统计信息和群集API中的分片数量不一致
当我从http://localhost:9200/_cluster/stats?human&pretty东西,我得到:
"cluster_name" : "elasticsearch",
"status" : "yellow",
"indices" : {
"count" : 1,
"shards" : {
"total" : 5,
"primaries" : 5,
"replication" : 0.0,
"index" : {
"shards" : {
"min" : 5,
"max" : 5,
"avg" : 5.0
},
"primaries" : {
"min" : 5,
"max" : 5,
"avg" : 5.0
},
"replication" : {
"min" : 0.0,
"max" : 0.0,
"avg" : 0.0
}
}
}
当我做http://localhost:9200/_stats?pretty=true
"_shards" : {
"total" : 10,
"successful" : 5,
"failed" : 0
}
GET怎么来的碎片在两份报告不一致的总数是多少?统计API为什么总共有10个碎片。如何跟踪其他5个?
感谢,试图将另一个节点之后仅仅验证。 – Mohitt