Retrieving query_score while using "replace" in the function_score query

Using "replace" in the Elasticsearch function score discards the query_score altogether.
"only function score is used, the query score is ignored".

In my requirement, I do want the "replace" as I'm sorting based ONLY on the function_score.
But, later on I do require the query_score as well.

Hence, I wanted to know if there is way to retrieve the query_score while using "replace" in my function_score query.

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