Best pratices to handle multiple value field separated in terms stats?

Hi every ElasticSearch Users,

What is the best pratices to handle with ElasticSearch query like that in
SQL:
SELECT SUM(col_a), SUM(col_b), SUM(col_c), COUNT(col_d), col_e FROM table
GROUP BY col_e ORDER BY (col_a OR col_b OR col_c OR col_d)

It's a real problem for me because I use terms stats with one value per
field, but I can't handle sorting like that...
(http://elasticsearch-users.115913.n3.nabble.com/Aggregate-multiple-value-fields-separately-in-terms-stats-facet-td3150664.html)

Please anyone help me :frowning:
Thanks,

Fabien

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.