Hello,
This question has been asked before and has been answered but for an older version of ElasticSearch which does not work for 7.1 version.
My requirement is to be able to parse JSON search request containing aggs into AggregationBuilder which then can be set into the SearchSourceBuilder. I have read numerous forums but all of them are for older version of ES.
Is there a way to do this in ES 7.1?