lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Hastings <hastings.recurs...@gmail.com>
Subject solr 5.2->7.2, suggester failure
Date Tue, 03 Apr 2018 18:28:43 GMT
Hey all, I recently got a 7.2 instance up and running, and it seems to be
going well however, I have ran into this when creating one of my indexes,
and was wondering if anyone had a quick idea right off the top of their
head.

solrconfig:

<searchComponent name="suggest" class="solr.SuggestComponent">
  <lst name="suggester">
    <str name="name">fixspell</str>
    <str name="lookupImpl">FuzzyLookupFactory</str>

        <str name="suggestAnalyzerFieldType">string</str>

    <str name="dictionaryImpl">DocumentDictionaryFactory</str>
    <str name="field">title</str>
    <str name="buildOnStartup">true</str>
    <str name="buildOnOptimize">true</str>
  </lst>


received error:


ERROR true
SuggestComponent
Exception in building suggester index for: fixspell
java.lang.IllegalArgumentException: input automaton is too large: 1001
at
org.apache.lucene.util.automaton.Operations.topoSortStatesRecurse(Operations.java:1298)
at
org.apache.lucene.util.automaton.Operations.topoSortStatesRecurse(Operations.java:1306)
at
org.apache.lucene.util.automaton.Operations.topoSortStatesRecurse(Operations.java:1306)

.....

at
org.apache.lucene.util.automaton.Operations.topoSortStatesRecurse(Operations.java:1306)
at
org.apache.lucene.util.automaton.Operations.topoSortStatesRecurse(Operations.java:1306)
at
org.apache.lucene.util.automaton.Operations.topoSortStates(Operations.java:1275)
at
org.apache.lucene.search.suggest.analyzing.AnalyzingSuggester.replaceSep(AnalyzingSuggester.java:292)
at
org.apache.lucene.search.suggest.analyzing.AnalyzingSuggester.toAutomaton(AnalyzingSuggester.java:854)
at
org.apache.lucene.search.suggest.analyzing.AnalyzingSuggester.build(AnalyzingSuggester.java:430)
at org.apache.lucene.search.suggest.Lookup.build(Lookup.java:190)
at
org.apache.solr.spelling.suggest.SolrSuggester.build(SolrSuggester.java:181)
at
org.apache.solr.handler.component.SuggestComponent$SuggesterListener.buildSuggesterIndex(SuggestComponent.java:529)
at
org.apache.solr.handler.component.SuggestComponent$SuggesterListener.newSearcher(SuggestComponent.java:511)
at org.apache.solr.core.SolrCore.lambda$getSearcher$17(SolrCore.java:2275)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message