I performed some tests with a custom field.
In general, custom field content is highlited in results.
But, It appears also that the Solr definition of the field “text” in schema.xml (search analyser section) can prevent highlighting. It’s not a problem specific to custom fields, but also to the post contents.
After commenting out the porter filter in schema.xml
<!–<filter class=”solr.PorterStemFilterFactory”/>–>
, i could highlight the keyword “highlighting” in both content and custom field (I could’nt before)
The schema.xml provided is a default one, for english language. It can/must be tweaked to your own requirements.