Github user MikeThomsen commented on the issue:
https://github.com/apache/nifi/pull/2601
@ottobackwards Follow up from your reference to this in the `QuerySolr`
PR...
If you've got a use case where you need to get stats from ES, check out
`JsonQueryElasticsearch`. It uses the JSON DSL and has relationships for
aggregations so you can run them and split them up into separate JSON documents.---
