Add system property setting to allow data directory to be overridden

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@544356 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2007-06-05 03:13:31 +00:00
parent 22566505e0
commit 88bf24b000
1 changed files with 2 additions and 3 deletions

View File

@ -29,9 +29,8 @@
<!-- 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</dataDir>
-->
<dataDir>${solr.data.dir:./solr/data}</dataDir>
<indexDefaults>
<!-- Values here affect all index writers and act as a default unless overridden. -->