有如下sql select * from (select count(*) as num,search_date from baidu_index GROUP BY search_date ) b where num>40
elasticsearch 如何实现?
或者elasticsearch 如何对按某个字段分组后的docCount 做过滤呢?
elasticsearch 如何实现?
或者elasticsearch 如何对按某个字段分组后的docCount 做过滤呢?
2 个回复
laoyang360 - 《一本书讲透Elasticsearch》作者,Elastic认证工程师 [死磕Elasitcsearch]知识星球地址:http://t.cn/RmwM3N9;微信公众号:铭毅天下; 博客:https://elastic.blog.csdn.net
赞同来自:
huigy
赞同来自: