有个人长的像洋葱,走着走着就哭了…….

字段类型为keyword,但是term聚合不成功

Elasticsearch | 作者 sunger | 发布于2020年01月11日 | 阅读数:1370

聚合有hits,
但是没有aggregations
执行结果如下:
{
"took": 16,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"skipped": 0,
"failed": 0
},
"hits": {
"total": 4427971,
"max_score": 1,
"hits": [ { "_index": .......
}
}
是社么问题呢?
感谢
已邀请:

jiaxs - elasticsearch的忠实用户

赞同来自:

发下完整查询,没有查询怎末判断呢

要回复问题请先登录注册