The JVM arg seems to overwrite that just fine: -Dsolr.data.dir=/opt/solr/example/data
On Sun, May 30, 2010 at 12:14 AM, Abdelhamid ABID <aeh.a...@gmail.com> wrote: > .. and to unset dataDir just leave it blank > <dataDir>${solr.data.dir:}</dataDir> > > On Sun, May 30, 2010 at 12:15 AM, Chris Hostetter > <hossman_luc...@fucit.org>wrote: > >> >> : Most likely you have missed to point data directory in solrconf.xml, >> : this should help : >> : http://wiki.apache.org/solr/SolrConfigXml#dataDir_parameter >> >> right .. double check what the dataDir setting looks like ... if it's >> unset it uses "data" in your solr instance directory, but if it is set, >> it's (unfortunately) evaluated relative to the "current working directory" >> of your servlet container and some versions of solr had "./data" listed in >> the example solrconfig.xml >> >> >> >> -Hoss >> >> > > > -- > Abdelhamid ABID > Software Engineer- J2EE / WEB >