Any field that is queried in the search, will give back match in the in search results. All these snippets will have html entities from the original text encoded. Actual encoding can be specified using html tags.
By default “title”, “url”, “content” will be shown with highlighting as shown in the above image. To add more fields for highlighting, click plus button and add fields. When results are retrieved, the matching query terms in results will be shown highlighted.