Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
6.6.5, 7.5
-
None
-
None
Description
In my config if i include <str name="highlight">true</str> for AnalyzingInfixLookupFactory the highlighter stops working even though the value is "true".
Once i remove the "highlight" parameter the highlight starts working ,As For AnalyzingInfixLookupFactory Default value for highlight is true, we don't need to explicitly pass it as "true".
So issue is <str name="highlight">true</str> should keep the highlighting working and not turn it off.
<searchComponent name="mySuggest" class="solr.SuggestComponent"> <lst name="suggester"> <str name="name">mySuggest</str> <str name="lookupImpl">AnalyzingInfixLookupFactory</str> <str name="dictionaryImpl">DocumentDictionaryFactory</str> <str name="highlight">true</str> <str name="field">suggestNameAll</str> <str name="suggestAnalyzerFieldType">text_general</str> <str name="buildOnStartup">true</str> <str name="buildOnCommit">false</str> </lst> </searchComponent>