Hi everyone,
How can I force a highlight field for being retrieved as a source field if there was a match on it? I don't want to define this field in the source clause previously, for instance.
_source:{
field_1,
object_field_2.field_3,
object_field_2.field_4
}
highlight:{
objetct_field_2.field_5
}
If there is a matching highlight on objetct_field_2.field_5 field, I would like it to be included in the _source clause, nested to object_field_2.
I've tried force_source: true parameter inside highlight.objetct_field_2.field_5, but it didn't work as I expected:
'objetct_field_2.field_5': { force_source: true }
Does anybody know if it is possible to do that?
Thanks,
Guilherme