我使用一个非常简单的查询来搜索最后一天没有文档收入的索引。但我得到了不同的点击量,我不知道为什么,我希望有人可以帮助我,我的弹性搜索版本是5.5.x。
查询:
GET app-wechat-2018.04.16/_search?preference=_primary
{
"query": {
"match": {
"message": "maidian"
}
}
}
一个结果是这样的:
{
"took": 76,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"hits": {
"total": 29579,
"max_score": 4.108034,
"hits": [
{
"_index": "app-wechat-2018.04.16",
...
另一个结果是这样的:
{
"took": 3,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"hits": {
"total": 29582,
"max_score": 4.1081295,
"hits": [
{
"_index": "app-wechat-2018.04.16",