Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13001

AnalyzingInfixLookupFactory turns highlight off if we pass "highlight" parameter in config irrespective whether its true or false

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.6.5, 7.5
    • Fix Version/s: None
    • Component/s: highlighter
    • Labels:
      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>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              preetibgp21 Preeti
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: