Step 4. Configuring Solr
Note: To run Solr for the character based languages such as Chinese, Japanese and Korean, different configuration files have to be used. These files are delivered with the Solr configuration directory. Be aware of the fact that the Solr support for CJK languages is limited.
Step 1. Open the config_solr.php file.
- <Enterprise installation directory>/config/
Step 2. Verify if the correct URL is defined in the SOLR_SERVER_URL setting.
define ('SOLR_SERVER_URL', 'http://localhost:8080/solr');
Step 3. Verify if the correct collection is defined in the SOLR_CORE setting.
define ('SOLR_CORE', 'collection1');
Step 4. (Optional) Define the time-out duration in the SOLR_TIMEOUT setting.
define ('SOLR_TIMEOUT', 5);
Note: Changing this value may be necessary when time-outs occur while indexing many objects. However, usually it is better to adjust the solrconfig.xml file by changing settings such as ramBufferSizeMB, mergeFactor, and autoCommit.
Step 5. Installing the Enterprise schema