Aggregate on sum of 2 numeric fields without Scripts

I am trying to write an aggregation query which needs to calculate sum of 2 numeric fields without using Script feature

Please help.

You could write a native Java plugin that does what you need or perhaps consider an expression script that retains near-native performance and is a deliberately simplified syntax to avoid security issues [1]

[1] https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-scripting.html#_lucene_expressions_scripts

Thanks Mark for your quick response.