elasticsearch 多字段聚合求助
时间: 2020-08-21来源:V2EX
前景提要
类似 select couponTypeId,counterCode,count(*) from table group by couponTypeId,counterCode
下面是是单条件聚合
POST coupon_statistics_record/_search { "aggs": { "group_by_couponTypeId": { "terms": {"field": "couponTypeId.keyword"} } } }

科技资讯:

科技学院:

科技百科:

科技书籍:

网站大全:

软件大全:

热门排行