curl -XPOST
{
"size" : 0,
"aggs": {
"group_by_state": {
"terms": {
"field": "brand_id"
}
}
}
}
结果还是只返回10行数据 ,sum_other_doc_count 不为 0
{
"size" : 0,
"aggs": {
"group_by_state": {
"terms": {
"field": "brand_id"
}
}
}
}
结果还是只返回10行数据 ,sum_other_doc_count 不为 0
2 个回复
rockybean - Elastic Certified Engineer, ElasticStack Fans,公众号:ElasticTalk
赞同来自: escapeaway
laoyang360 - 《一本书讲透Elasticsearch》作者,Elastic认证工程师 [死磕Elasitcsearch]知识星球地址:http://t.cn/RmwM3N9;微信公众号:铭毅天下; 博客:https://elastic.blog.csdn.net
赞同来自: