Elasticsearch聚合查询只现实10条是怎么回事呢? 财富值32

2016-04-03 06:04发布

elasiticsearch聚合查询只现实10条是怎么回事呢?

{   "aggs": {     "group_by_http_user_agent": {       "terms": {         "field": "http.http_user_agent"       }     }   },   "size": 0 }

解决方案

{   "aggs": {     "group_by_http_user_agent": {       "terms": {         "field": "http.http_user_agent",         "size": 0       }     }   },   "size": 0 }
友情提示: 问题已经关闭,关闭后问题禁止继续编辑,回答。