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.
© 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.