我最近对我的schema.xml
文件进行了一些微小的改动.基本上我唯一做的就是更改StopFilter使用的停用词文件:
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" />
更改为
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords_de.txt" />
stopwords_de.txt
来自Solr提供的预定义的一组停用词.
但是,我现在的问题是,即使我重新索引,也不会应用架构中的更改.我检查了此字段的Solr Admin UI架构浏览器,并且重建索引后StopFilter仍然使用旧的停用词文件.
我是否需要重新加载我的核心,甚至重新启动Solr才能应用这些更改?到目前为止,Reindexing做得很好.
我在Plone 4.2.6系统上使用Collective Solr 4.1.0搜索.