ElasticSearch max and min score

I want to search the fields and apply a function to the doc score that includes the max and min score of the search result. I can use the script score but how I get the max and min scores in script?

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