Hi,
I have created an elasticsearch aggregation with some heavy operation like script. Now I want to perform 2 different bucket sort on the result of the aggregation I did earlier. Is there any way I can do that?
I know I can write 2 aggreagtions but I want to avoid doing same initial aggregation twice for 2 different result.