Solr建议程序构建错误:x:spell_suggest SolrSuggester存储库查找构建失败

时间:2019-05-17 05:13:33

标签: solr

在我的建议程序中,如果设置 storeDir 并构建建议程序,则会出现以下错误:

x:spell_suggest SolrSuggester Store Lookup build failed

solrconfig中的提示器配置为:

<searchComponent name="suggest" class="solr.SuggestComponent">
<lst name="suggester">
  <str name="name">AnalyzingInfix_HighFrequency_romaji</str>
  <str name="lookupImpl">AnalyzingInfixLookupFactory</str>
  <str name="dictionaryImpl">HighFrequencyDictionaryFactory</str>
  <str name="indexPath">AnalyzingInfix_HighFrequency_romaji_index</str>
  <str name="storeDir">AnalyzingInfix_HighFrequency_romaji_store</str>
  <str name="field">suggest_field</str>
  <str name="suggestAnalyzerFieldType">suggest_analyzer_type_romaji</str>
  <str name="buildOnStartup">false</str>
  <str name="buildOnCommit">true</str>
  <str name="minPrefixChars">2</str>
  <bool name="allTermsRequired">true</bool>
  <bool name="highlight">false</bool>
</lst>
</searchComponent>

建议者正常工作,但我不想收到错误消息。

没有storeDir,没有错误,但是我希望数据结构是持久的(不是内存中的)。

Solr版本是8.0。

关于如何消除错误的任何想法?

0 个答案:

没有答案