I am using a multi-field and I'm having an interesting issue with highlighting that I'm surprised no else has posted yet.
I have a field called
title, within this field I have another title called
merged_title which has an analyzer defined on it that strips hyphens and merges the word. So if I search for "anti-emetic" it highlights just on
titlebecause the original document text contained "anti-emetic" therefore it was tokenized individually. However in the instance where you search for "antiemetic" and the orginal document text contains "antiemetic" without a hyphen it highlights both on the
title field and
merged_titlefield. Is it possible to have it highlight only on one field in this instance?