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

Lookup not supported at this time orStackOverflowError after upgradin from 6.3.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 6.6.2
    • None
    • Suggester
    • None
    • jdk1.8.0_144 on Centos 7.2
      java memeory 4G
      Number of doc 4.7 mln

    Description

      When using the FuzzyLookupFactory in combinarion with the DocumentDictionaryFactory it will throw a stackoverflow trying to build the dictionary - both version 6.2.0 and 6.6,2 are affected

      <searchComponent name="suggest" class="solr.SuggestComponent">
      <lst name="suggester">
      <str name="name">Suggester</str>
      <str name="lookupImpl">FuzzyLookupFactory</str>
      <str name="dictionaryImpl">DocumentDictionaryFactory</str>
      <str name="field">titleAutocomplete</str>
      <str name="suggestAnalyzerFieldType">text_auto</str>
      <str name="buildOnStartup">false</str>
      <str name="buildOnCommit">true</str></lst>
      </searchComponent>

      expection
      null:java.lang.RuntimeException: java.lang.StackOverflowError
      at org.apache.solr.servlet.HttpSolrCall.sendError(HttpSolrCall.java:676)

      Combination of DocumentDictionaryFactory with FreeTextLookupFactory was warking on version 6.2 but after upgrade to 6.6.2 i new error is generating to log file

      l:java.lang.IllegalStateException: Lookup not supported at this time
      at org.apache.lucene.search.suggest.analyzing.FreeTextSuggester.lookup(FreeTextSuggester.java:428)
      at org.apache.lucene.search.suggest.analyzing.FreeTextSuggester.lookup(FreeTextSuggester.java:399)
      at org.apache.lucene.search.suggest.analyzing.FreeTextSuggester.lookup(FreeTextSuggester.ja

      switch to combination
      HighFrequencyDictionaryFactory with FreeTextLookupFactory, generated also the same issue

      <searchComponent name="suggest" class="solr.SuggestComponent">
      <lst name="suggester"><str name="name">Suggester</str>
      <str name="lookupImpl">FreeTextLookupFactory</str>
      <str name="dictionaryImpl">HighFrequencyDictionaryFactory</str>
      <str name="suggestFreeTextAnalyzerFieldType">text_auto</str>
      <str name="field">titleAutocomplete</str>
      <str name="buildOnStartup">false</str>
      <str name="buildOnCommit">true</str></lst>
      </searchComponent>

      Is there any workaround for this issue ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            kmadejski Krzysztof Madejski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: