What is the difference between function_score and script_score query?

Both modify the score of the retrieved docs, but when do I use each of them? Why would I also use script_score inside function_score instead of just sticking with scripting_score?

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