You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Krzysztof Madejski (JIRA)" <ji...@apache.org> on 2017/11/23 17:40:00 UTC
[jira] [Created] (SOLR-11668) Lookup not supported at this time
orStackOverflowError after upgradin from 6.3.0
Krzysztof Madejski created SOLR-11668:
-----------------------------------------
Summary: Lookup not supported at this time orStackOverflowError after upgradin from 6.3.0
Key: SOLR-11668
URL: https://issues.apache.org/jira/browse/SOLR-11668
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: Suggester
Affects Versions: 6.6.2
Environment: jdk1.8.0_144 on Centos 7.2
java memeory 4G
Number of doc 4.7 mln
Reporter: Krzysztof Madejski
Priority: Critical
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 ?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org