Hi all,

I have taken the example configuration in the reference guide (https://cwiki.apache.org/confluence/display/solr/Suggester) and adapted it to my needs, resulting in this configuration:

      <searchComponent name="suggest" class="solr.SuggestComponent">
        <lst name="suggester">
          <str name="name">mySuggester</str>
          <str name="lookupImpl">FuzzyLookupFactory</str>
          <str name="dictionaryImpl">DocumentDictionaryFactory</str>
          <str name="field">spellchk</str>
          <str name="suggestAnalyzerFieldType">string</str>
          <str name="buildOnOptimize">true</str>
          <str name="buildOnStartup">true</str>
        </lst>
      </searchComponent>


But when I issue a suggestions rebuild (either on solr startup or manually), I get the following exception:

   2016-04-03 10:37:19.538 INFO
   (searcherExecutor-7-thread-1-processing-x:funderatenders) [
   x:funderatenders] o.a.s.s.s.SolrSuggester
   SolrSuggester.build(mySuggester)
2016-04-03 10:37:19.538 INFO (coreLoadExecutor-6-thread-1) [ x:funderatenders] o.a.s.u.UpdateLog Looking up max value of version
   field to seed version buckets
2016-04-03 10:37:19.538 INFO (coreLoadExecutor-6-thread-1) [ x:funderatenders] o.a.s.u.VersionInfo Refreshing highest value of
   _version_ for 65536 version buckets from index
2016-04-03 10:37:19.569 INFO (coreLoadExecutor-6-thread-1) [ x:funderatenders] o.a.s.u.VersionInfo Found MAX value
   1530583001228902400 from Terms for _version_ in index
2016-04-03 10:37:19.569 INFO (coreLoadExecutor-6-thread-1) [ x:funderatenders] o.a.s.u.UpdateLog Took 27.0ms to seed version
   buckets with highest version 1530583001228902400
2016-04-03 10:37:19.569 INFO (coreLoadExecutor-6-thread-1) [ x:funderatenders] o.a.s.c.CoreContainer registering core: funderatenders
   2016-04-03 10:37:19.640 ERROR
   (searcherExecutor-7-thread-1-processing-x:funderatenders) [
   x:funderatenders] o.a.s.c.SolrCore null:java.lang.StackOverflowError
        at java.util.BitSet.get(BitSet.java:625)
        at
   
org.apache.lucene.util.automaton.Operations.topoSortStatesRecurse(Operations.java:1309)
        at
   
org.apache.lucene.util.automaton.Operations.topoSortStatesRecurse(Operations.java:1311)
        at
   
org.apache.lucene.util.automaton.Operations.topoSortStatesRecurse(Operations.java:1311)
        at
   
org.apache.lucene.util.automaton.Operations.topoSortStatesRecurse(Operations.java:1311)
        at
   
org.apache.lucene.util.automaton.Operations.topoSortStatesRecurse(Operations.java:1311)
        at
   
org.apache.lucene.util.automaton.Operations.topoSortStatesRecurse(Operations.java:1311)


This exception happens exactly the same if I change to the AnalyzingLookupFactory. Looking for information I have found some more people that faced this problem, but none of them ever got an answer or explained if they solved it anyhow:

http://stackoverflow.com/questions/33749956/solr-suggester-throws-stackoverflow-error

https://mail-archives.apache.org/mod_mbox/lucene-solr-user/201510.mbox/%3c1730285477.200002.1445329649504.javamail.ya...@mail.yahoo.com%3E

Anyone has any ideas on this?

Thanks in advance!!




































Reply via email to