There's a JIRA ( https://issues.apache.org/jira/browse/SOLR-4722 )
describing a highlighter which returns term positions rather than
snippets, which could then be mapped to the matching words in the indexed
document (assuming that it's stored or that you have a copy elsewhere).
-Simon
On Wed,
In Solr 5 (or 4), is there an easy way to retrieve the list of words to
highlight?
Use case: allow an external application to highlight the matching words
of a matching document, rather than using the highlighted snippets
returned by Solr.
Thanks,
Damien