lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thijs <>
Subject dataDir configuration
Date Thu, 26 Feb 2009 10:56:06 GMT

I just upgraded from solr-1.3-dev to 1.4-dev and I'm having issues with 
the location of the dataDir.

I configure solr through -Dsolr.solr.home= /u01/app/apptest/solr
In v1.3 the datadir is located in /u01/app/apptest/solr/data

However when I dorp the 1.4 war in place the dataDir is opened at 
this is the tomcat installation dir.

This is the LOG from starting up tomcat:
INFO: using system property solr.solr.home: /u01/app/apptest/solr
Feb 26, 2009 11:17:09 AM org.apache.solr.core.SolrResourceLoader <init>
INFO: Solr home set to '/u01/app/apptest/solr/'
Feb 26, 2009 11:17:09 AM org.apache.solr.core.SolrResourceLoader 
INFO: Reusing parent classloader
Feb 26, 2009 11:17:09 AM org.apache.solr.core.SolrConfig <init>
INFO: Loaded SolrConfig: solrconfig.xml
Feb 26, 2009 11:17:09 AM org.apache.solr.core.SolrCore <init>
INFO: Opening new SolrCore at /u01/app/apptest/solr/, dataDir=./data/

And this is from solr admin

I don't have a solr.xml nor do I have a <dataDir /> configured in 

Has the behavior changed from the dataDir being relative to solrHome, to 
being relative to the working directory?
Do I have to set this manually to the correct directory?


View raw message