I don't know how to make my explanation, for example in sql
SELECT c,avg(a) + avg(b) as count FROM name group by c;
It is possible to write using in elasticsearch? Thanks!
I don't know how to make my explanation, for example in sql
SELECT c,avg(a) + avg(b) as count FROM name group by c;
It is possible to write using in elasticsearch? Thanks!
I do think so (my SQL skills are very rusty after years of Elasticsearch), but a terms
aggregation with two nested avg
aggregations might be what you are searching for.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.