I'd like to be able to do more than one (chained) sibling aggregation with full script-ability.
Is this a reasonable feature to ask of ES? I'm not very familiar with its implementation of pipelined aggs.
Basically I want the script aggregation to work as a sibling pipeline aggregation:
https://www.elastic.co/guide/en/elasticsearch/reference/5.0/search-aggregations-metrics-scripted-metric-aggregation.html