You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Sami Siren (JIRA)" <ji...@apache.org> on 2012/10/18 14:12:04 UTC

[jira] [Created] (SOLR-3965) CoreAdminHandler does not do "property expansion" on values wren creating new core

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-3965) CoreAdminHandler does not do "property expansion" on values wren creating new core

Posted by "Sami Siren (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sami Siren updated SOLR-3965:
-----------------------------

    Affects Version/s: 4.0
    
> 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
>    Affects Versions: 4.0
>            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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org