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

hi,

I would say that the function_score is only applied on the nested documents, so the reward_factor is not accessible

see if it can helps:

bye,
Xavier