我已配置ManagedSynyMgraphFilterFactory,以便在查询时solr抛出以下错误时通过api管理同义词。我可以看到此错误在重新加载集合后得到解决,但注意到在向集合添加动态字段后,此错误再次发生。
错误:
"msg":"org.apache.solr.rest.schema.analysis.ManagedSynonymGraphFilterFactory not initialized correctly! The SynonymFilterFactory delegate was not initialized.",
配置:
<fieldType name="text_general" class="solr.TextField" positionIncrementGap="100" multiValued="true">
<analyzer type="index">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.StopFilterFactory" words="stopwords.txt" ignoreCase="true"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
<analyzer type="query">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" />
<filter class="solr.ManagedSynonymGraphFilterFactory" managed="english"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
暂无答案!
目前还没有任何答案,快来回答吧!