Unable to retrieve field value from Doc Values in nested function_score query

Thank you Xavier for your answer. It makes sense although I do wish there is a way to get the field value from parent docs. I guess I have a walk-around that is to include 'reward_factor' field in each of the nested subdocuments. Not very elegant, but it should work.
Cheers,
Junjun