lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r634414 - /lucene/solr/trunk/src/java/org/apache/solr/core/SolrCore.java
Date Thu, 06 Mar 2008 21:01:54 GMT
Author: yonik
Date: Thu Mar  6 13:01:51 2008
New Revision: 634414

URL: http://svn.apache.org/viewvc?rev=634414&view=rev
Log:
normalize the solr data directory regardless of source

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/core/SolrCore.java

Modified: lucene/solr/trunk/src/java/org/apache/solr/core/SolrCore.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/core/SolrCore.java?rev=634414&r1=634413&r2=634414&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/core/SolrCore.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/core/SolrCore.java Thu Mar  6 13:01:51 2008
@@ -347,8 +347,8 @@
       SolrResourceLoader loader = config.getResourceLoader();
       if (dataDir == null)
         dataDir = config.get("dataDir",loader.getInstanceDir()+"data/");
-      else
-        dataDir = SolrResourceLoader.normalizeDir(dataDir);
+
+      dataDir = SolrResourceLoader.normalizeDir(dataDir);
 
       log.info(logid+"Opening new SolrCore at " + loader.getInstanceDir() + ", dataDir="+dataDir);
 



Mime
View raw message