Highlighting using words from another field

I'm trying to highlight text using words from other field. What do I mean?
I have a documents similar to the following:

 property: 1,
 content: "a lot of animals including cats and dogs",
 keywords: ["cat", "dog"]
 property: 1,
 content: "A lions and zebras are leaving in Africa",
 keywords: ["zebra", "lion"]

I'm searching by property field, but I want the content to be highlighted using query built from keywords
Is it possible?

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