[英]elasticsearch php nested aggregations
I tried searching an trying. 我尝试搜索尝试。 I need to group the nested fields.
我需要对嵌套字段进行分组。 The sql query is as follows:
sql查询如下:
SELECT p_application_category,
Sum(p_recv_bytes) as download,
p_date
FROM ZLog2 $w
group by p_application_category;
I solved the problem with elastic sql plugin. 我用弹性sql插件解决了这个问题。 It makes regular sql statements available in elastic.
它使常规sql语句具有弹性。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.