Computing value from query or storing every required field from starting which one is better?

i am using arithmetic operation on two fields using script in my aggregation. Whether I should continue this or compute those value and stored them to my es and directly apply my aggregation on those fields . Which would be the better way ???

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