How can I pass a JSON aggregation string to a AggregatoinBuilder


(yan ming) #1

I have been trying for hours to get this working. Basically I have a class
that performs a aggregation and I want the user to be able to pass a
JSON aggregatoin string to my constructor and then use that on the aggregation
to further reduce the results. I have tried all manner of AggregationBuilders
methods and SearchRequestBuilder methods.


(system) #2