lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan McKinley <ryan...@gmail.com>
Subject Re: svn commit: r544356 - /lucene/solr/trunk/example/solr/conf/solrconfig.xml
Date Tue, 12 Jun 2007 05:34:02 GMT

> -  <!--
> -  <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

Mime
View raw message