Hi,
I have a problem where I need to get a result set, sort it by score and then bucket results by score.
There is no in-built aggregation for it. I have trying to use the scripting mechanism with _score, but so far I have not succeeded.
Can someone please give me some hints/suggestions?
-Dev