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

I just ran into something weird with this...

If you set the solr home with JNDI or solr.solr.home, the dataDir still defaults to "./solr/data" -- not the data directory relative to solr home. This requires you to *also* set: "solr.data.dir" if you want to use a different data directory.

I think we should comment it out so that the by default, setting solr home moves everything.

ryan

Reply via email to