我正在从Solr 4.6.0迁移到5.4.0.我们选择使用旧的schema.xml而不是使用managed_schema,因为我们有相当多的copyField.启动solr服务器,我们收到此错误:
[schema.xml] fieldType"text_general"的插件初始化失败:[schema.xml]分析器/过滤器的插件初始化失败:实例化类的错误:'org.apache.lucene.analysis.core.StopFilterFactory'
在谷歌上,我们看到StopFilterFactory尚未弃用.可能是什么问题呢?
此外,还没有关于如何在Solr5中使用Solr4架构的全面指南.有什么建议?
谢谢
不确定Solr5.XX,但通过从schema xml中删除enablePositionIncrements ="true"解决了Solr6.1.0中的上述问题.Solr可能会抛出另一个错误
Plugin init failure for [schema.xml] fieldType "edge_ngram": Plugin init failure for [schema.xml] analyzer/filter: Error instantiating class:'org.apache.lucene.analysis.ngram.EdgeNGramFilterFactory'
Run Code Online (Sandbox Code Playgroud)
从架构文件中删除side ="front"也会删除此错误.