我將數據上傳到了我的單個節點羣集,並將該索引命名爲「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