You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "Michael Aleythe, Sternwald" <mi...@sternwald.com> on 2021/01/15 11:04:20 UTC

Fieldname alias for Highlighter results

Hi everybody,

I'm looking for a way to replace solr index field names in the highlighting response.

For the query part there is the param fl=substitute:REAL_FIELD_NAME which substitutes the field name REAL_FIELD_NAME by "substitute". Sadly the substitution is not applied to the highlighter response. I tried using the same syntax on the hl.fl param but with no success. Has anybody an idea on how to achieve this?

Best regards
Michael Aleythe