Calculate overall score of the query using score of each term

I have a query which has 4-5 filters with each having score of its own filter A has score a and filter B has score b:
{
"boost_factor": "3",
"filter": {...}
},
{
"filter": {â.},
"script": "_score * doc['my_numeric_field'].value / pow(param1, param2)"
}

I want to have a custom score of the overall query to be like 0.5a + 0.7b

How can I achieve this?

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