I know how to debug this, but am hoping someone can give me a tip before
I dive in! 

Solr 6.0.0, I just started the server, hoping to build the suggester.

from the log:
3625 INFO  (searcherExecutor-7-thread-1-processing-x:blinkmon) [
x:blinkmon] o.a.s.s.s.SolrSuggester SolrSuggester.build(mySuggester)
3714 ERROR (searcherExecutor-7-thread-1-processing-x:blinkmon) [
x:blinkmon] o.a.s.c.SolrCore null:java.lang.StackOverflowError
        at
org.apache.lucene.util.automaton.Automaton.getNumTransitions(Automaton.java:350)
        at
org.apache.lucene.util.automaton.Automaton.initTransition(Automaton.java:487)
        at
org.apache.lucene.util.automaton.Operations.topoSortStatesRecurse(Operations.java:1306)
        at
org.apache.lucene.util.automaton.Operations.topoSortStatesRecurse(Operations.java:1311)
        at
org.apache.lucene.util.automaton.Operations.topoSortStatesRecurse(Operations.java:1311)

..repeats.. the console shows "SolrCore
null:java.lang.StackOverflowError"

from solrconfig.xml:
  <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">autocomplete</str>
      <str name="suggestAnalyzerFieldType">string</str>
      <str name="buildOnStartup">true</str>
      <str name="buildOnOptimize">true</str>
    </lst>
  </searchComponent>

  <requestHandler name="/suggest" class="solr.SearchHandler"
startup="lazy">
    <lst name="defaults">
      <str name="suggest">true</str>
      <str name="suggest.dictionary">mySuggester</str>

      <str name="suggest.count">10</str>
    </lst>
    <arr name="components">
      <str>suggest</str>
    </arr>
  </requestHandler>

Reply via email to