在CrafterCMS中,我如何在Crafter 3.0中配置Solr?

5

我正在安装一个生产环境的Crafter 3.0实例,采用当前文档作为指南进行构建。但是,在此时,我遇到了一些问题:

 Change the path where the preview Solr search indexes will be stored, e.g. /opt/crafter/data/preview-indexes:

 In INSTALL_DIR/apache-tomcat/solr-crafter/conf/solrconfig.xml, update the value of <dataDir> to the preview indexes folder path (e.g. <dataDir>/opt/crafter/data/preview-indexes</dataDir>).

我找不到文件INSTALL_DIR/apache-tomcat/solr-crafter/conf/solrconfig.xml,而且solr似乎在不同的路径下。

1个回答

5
自3.0版起,Solr现在是自己的独立服务。强烈建议使用此作为启动生产的模板安装(您可能需要调整内存、路径、备份和Apache前端以适用于所有服务)。
现在,如果您有特殊的Solr配置,则所有Solr配置都将位于crafter-(auth|delivery)-env/solr/server/solr/configsets/crafter_configs下。
这里有更多关于Solr 6.x配置的信息:https://cwiki.apache.org/confluence/display/solr/Config+Sets和/或https://cwiki.apache.org/confluence/display/solr/Configuring+solrconfig.xml

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接