lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: multi-core solr, specifying the data directory
Date Wed, 02 Mar 2011 01:24:36 GMT
: <!-- 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:./solr/data}</dataDir>

that directive says "use the solr.data.dir system property to pick a path, 
if it is not set, use "./solr/data" (realtive the CWD)

if you want it to use the default, then you need to eliminate it 
completley, or you need to change it to the empty string...

   <dataDir>${solr.data.dir:}</dataDir>

or...

   <dataDir></dataDir>


-Hoss

Mime
View raw message