domain.example:9200/test01_user/org/_count
我得到了这个结果
"{"count":12039,"_shards":{"total":4,"successful":4,"failed":0}}".
但是当我再次访问相同的网址时
"example:9200/test01_user/org/_count"
OMG,结果是
“{” 计数 “:11036,” _碎片 “:{” 总 “:4,” 成功 “:4,” 失败 “:0}}”
每次,结果都不同,12039或11036.我检查日志文件,没有对“test01_user / org”进行任何修改。 所以在我多次尝试访问相同的网址后,我得到了以下结果:
{"count":12039,"_shards":{"total":4,"successful":4,"failed":0}}
{"count":11036,"_shards":{"total":4,"successful":4,"failed":0}}
{"count":12039,"_shards":{"total":4,"successful":4,"failed":0}}
{"count":11036,"_shards":{"total":4,"successful":4,"failed":0}}
{"count":12039,"_shards":{"total":4,"successful":4,"failed":0}}
在我尝试的一半中,条目的数量似乎是11036(为什么不是12039)。 我检查了es日志文件,试图找到一些东西,但注意到有。
但是在我发现这个问题后的第二天早上,我得到了正确的结果:
{"count":12039,"_shards":{"total":4,"successful":4,"failed":0}}
{"count":12039,"_shards":{"total":4,"successful":4,"failed":0}}
{"count":12039,"_shards":{"total":4,"successful":4,"failed":0}}
{"count":12039,"_shards":{"total":4,"successful":4,"failed":0}}
所以我现在无法重现这个问题!有没有人遇到这个问题。