Correctly construct the SearchDefinition when calling 'highlighting(highlights: HighlightDefinition*)' API