Is it possible to get the highlight field from a SOSL search within apex?
For example:
List<List<Contact>> results = [
FIND {text} IN ALL FIELDS RETURNING Contact(Id, Name) WITH HIGHLIGHT
];
Is there a way to get the highlight field containing the <mark>text</mark>
tags? For example:
contact.get('highlight.Name');
Or is this only available when executing SOSL using the API?