Erik Hatcher wrote:
On Jun 12, 2007, at 1:34 AM, Ryan McKinley wrote:
- <!--
- <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.
Instead, maybe a relative path should be made relative to Solr's home
directory instead of to the current working directory?
that sounds good.
It is nice to be able to set the data directory with a property...