Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
4.10
-
New
Description
when setting 'doHighlight' to true at AnalyzingInfixSuggester.lookup(..), both the key and the highlightKey inside the returned lookupresult are set to the highlighted string. See at AnalyzingInfixSuggester.createResults, line 530:
if (doHighlight)
else
{ result = new LookupResult(text, score, payload, contexts); }As I understand, the key should'nt be highlighted in any case, only the highlightKey.