[ 
https://issues.apache.org/jira/browse/SOLR-5162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13780034#comment-13780034
 ] 

Steve Rowe commented on SOLR-5162:
----------------------------------

bq. Was it intentional that the "name" property disappear? See SOLR-5281

Answering my own question: Yes:
{code:java|title=CoreDescriptor.java line #213}
  /**
   * Create the properties object used by resource loaders, etc, for property
   * substitution.  The default solr properties are prefixed with 'solr.core.', 
so,
   * e.g., 'name' becomes 'solr.core.name'
   */
  protected void buildSubstitutableProperties() {
    for (String propName : coreProperties.stringPropertyNames()) {
      String propValue = coreProperties.getProperty(propName);
      if (!isUserDefinedProperty(propName))
        propName = "solr.core." + propName;
      substitutableProperties.setProperty(propName, propValue);
    }
  }
{code}
                
> Implicit core properties are no longer available
> ------------------------------------------------
>
>                 Key: SOLR-5162
>                 URL: https://issues.apache.org/jira/browse/SOLR-5162
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.5
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Minor
>             Fix For: 4.5
>
>         Attachments: SOLR-5162.patch, SOLR-5162.patch
>
>
> As noted by ~elyograg on IRC, implicit property substitution doesn't work any 
> more in 4.5.

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

Reply via email to