Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.2.0alpha1
-
None
Description
Hi
In INSTALL.txt:
Index options: Solr will store the search index in extension/ezfind/java/solr/data/index This may be changed, by altering the configuration file extension/ezfind/java/solr/conf/solrconfig.xml . Change the config->dataDir setting to alter the index path.
However, the index directory is by default hardcoded to be /srv/solr.
A patch which fixes this:
--- solrconfig.xml.org 2009-08-12 10:39:57.000000000 +0200 +++ solrconfig.xml 2009-08-12 10:40:13.000000000 +0200 @@ -29,7 +29,7 @@ <!-- Used to specify an alternate directory to hold all index data other than the default ./data under the Solr home. If replication is in use, this should match the replication configuration. --> - <dataDir>${solr.data.dir:/srv/solr}</dataDir> + <!--dataDir>${solr.data.dir:/srv/solr}</dataDir--> <indexDefaults>
Attachments
Issue Links
- duplicates
-
EZP-14546 solrconfig.xml configured with alternate directory
- Closed