CoreDescriptor holds wrong instance dir for single core
-------------------------------------------------------

                 Key: SOLR-753
                 URL: https://issues.apache.org/jira/browse/SOLR-753
             Project: Solr
          Issue Type: Bug
    Affects Versions: 1.3
            Reporter: Noble Paul


for single core ,the  CoreDescriptor is instantiated with the following code
{code:java}
CoreDescriptor dcore = new CoreDescriptor(cores, "", 
cfg.getResourceLoader().getInstanceDir());
{code}
and the reload in CoreContainer#create(CoreDescriptor dcore) has a snippet as 
follows

{code:java}
File idir = new File(loader.getInstanceDir(), dcore.getInstanceDir());
{code}

which will make the idir value something like "solr/solr/" which is wrong





-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to