Bucket search results by score


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?


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.