Get field that contains search result

Hey there!

(I found a similar question to this regarding Kirby 2, but no info on whether this feature has been implemented in Kirby 3.)

I’m building a search function for a rather complex site using a lot of different text fields per template. Thus, I can’t limit the search to just a couple of fields; instead I just have to run the search through all fields.

However, I’ll still need to display previews of the bits of text the search term was found in. Is there a way to get the field the search term was found in so I can display the content of that field?

Thank you for your time!

Not using the standard search method, you would have to create a plugin to achieve that.