Sami Siren created SOLR-3965:
--------------------------------

             Summary: CoreAdminHandler does not do "property expansion" on 
values wren creating new core
                 Key: SOLR-3965
                 URL: https://issues.apache.org/jira/browse/SOLR-3965
             Project: Solr
          Issue Type: Bug
            Reporter: Sami Siren


Let's say I have a core definition in my solr.xml like this:

{code}
<core name="core" instanceDir="cores/core" 
dataDir="${DataHome}/cores/core/data"/>
{code}

When I want to add more cores through the coreAdminHandler so that the data 
goes under the same base dir I cannot use ${DataHome} but I have to use a 
absolute directory instead. 

Using property references stores everything correctly in solr.xml but the 
actual value used for the data dir of the new core is incorrect (until solr is 
restarted).


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to