Changeset 5062


Ignore:
Timestamp:
04/25/14 11:20:59 (10 years ago)
Author:
Twan Goosen
Message:

Configured the dataDir property of the Solr configuration with a placeholder for a java system variable 'solr.data.dir'.
Set this variable in your Tomcat (through bin/setenv.sh) to make sure Solr keeps working!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/vlo-3.0/vlo-solr/src/main/solr_conf/solr/collection1/conf/solrconfig.xml

    r4325 r5062  
    7070  <!-- Used to specify an alternate directory to hold all index data
    7171       other than the default ./data under the Solr home.
    72        If replication is in use, this should match the replication configuration. -->
    73 <!--   <dataDir></dataDir>-->
     72       If replication is in use, this should match the replication configuration.
     73       
     74       Property must be set as a java system property. In the case of
     75       Tomcat, add a line to ${catalin.home}/bin/setenv.sh, e.g.:
     76         export JAVA_OPTS="$JAVA_OPTS -Dsolr.data.dir=/var/vlo/solr/data"
     77  -->
     78   <dataDir>${solr.data.dir}</dataDir>
    7479
    7580  <!--  Enables JMX if and only if an existing MBeanServer is found, use this
Note: See TracChangeset for help on using the changeset viewer.