Read this answer, maybe dont work to nested fields.
Doc:
Use the
fields
parameter on the_search
API to retrieve the values of runtime fields. Runtime fields won’t display in_source
, but thefields
API works for all fields, even those that were not sent as part of the original_source
.