[ https://issues.apache.org/jira/browse/SOLR-9458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erick Erickson resolved SOLR-9458. ---------------------------------- Resolution: Fixed I think this is fixed by LUCENE-7914. We can re-open if it's still a problem here. There'll still be an exception thrown, but at least one that's controlled. Although understanding how to fix this problem is unclear. Add a filter that limits the length of a token? > DocumentDictionaryFactory StackOverflowError on many documents > -------------------------------------------------------------- > > Key: SOLR-9458 > URL: https://issues.apache.org/jira/browse/SOLR-9458 > Project: Solr > Issue Type: Bug > Components: Suggester > Affects Versions: 6.1, 6.2 > Reporter: Chris de Kok > Priority: Major > > When using the FuzzyLookupFactory in combinarion with the > DocumentDictionaryFactory it will throw a stackoverflow trying to build the > dictionary. > Using the HighFrequencyDictionaryFactory works ok but behaves very different. > ``` > <searchComponent name="suggest" class="solr.SuggestComponent"> > <lst name="suggester"> > <str name="name">suggest</str> > <str name="field">suggestions</str> > <str name="suggestAnalyzerFieldType">suggestions</str> > <str name="lookupImpl">FuzzyLookupFactory</str> > <str name="dictionaryImpl">DocumentDictionaryFactory</str> > <str name="storeDir">suggest_fuzzy</str> > <str name="exactMatchFirst">true</str> > <str name="buildOnStartup">false</str> > <str name="buildOnCommit">false</str> > <str name="buildOnOptimize">true</str> > <float name="threshold">0</float> > </lst> > ```` > null:java.lang.StackOverflowError > 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 message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org