Preeti created SOLR-13001:
-----------------------------
Summary: AnalyzingInfixLookupFactory turns highlight off if we
pass "highlight" parameter in config irrespective whether its true or false
Key: SOLR-13001
URL: https://issues.apache.org/jira/browse/SOLR-13001
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Affects Versions: 7.5, 6.6.5
Reporter: Preeti
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>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]