SOLR-753: CoreDescriptor holds wrong instance dir for single core

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@692734 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2008-09-06 20:53:48 +00:00
parent daa32711c9
commit 84f9a2a863
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ public class CoreContainer
// perform compatibility init
cores = new CoreContainer(new SolrResourceLoader(instanceDir));
SolrConfig cfg = solrConfigFilename == null ? new SolrConfig() : new SolrConfig(solrConfigFilename);
CoreDescriptor dcore = new CoreDescriptor(cores, "", cfg.getResourceLoader().getInstanceDir());
CoreDescriptor dcore = new CoreDescriptor(cores, "", ".");
SolrCore singlecore = new SolrCore(null, null, cfg, null, dcore);
abortOnConfigurationError = cfg.getBool(
"abortOnConfigurationError", abortOnConfigurationError);