In CrafterCMS, how do I configure Solr in Crafter 3.0?

I am installing a production instance Crafter 3.0built from source code using the current documentation as a guide. However, at the moment I am having problems:

 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>).

I can not find the file INSTALL_DIR/apache-tomcat/solr-crafter/conf/solrconfig.xml, but I myself am solrin a different path.

+4
source share
1 answer

Since 3.0 Solr is now its own standalone service.

It is highly recommended that you use this as a template to start the installation (you might want to configure the memory, paths, backups and Apache interface for all services).

, - Solr, solr config 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

+4

Source: https://habr.com/ru/post/1677707/


All Articles