[
https://issues.apache.org/jira/browse/SOLR-5281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13780059#comment-13780059
]
ASF subversion and git services commented on SOLR-5281:
-------------------------------------------------------
Commit 1526973 from [~steve_rowe] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1526973 ]
SOLR-5281: IndexSchema log message was printing '[null]' instead of '[<core
name>]' (merge trunk r1526972)
> Incorrect access core.properties in IndexSchema.java
> ----------------------------------------------------
>
> Key: SOLR-5281
> URL: https://issues.apache.org/jira/browse/SOLR-5281
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.5
> Reporter: Jun Ohtani
> Priority: Minor
> Attachments: SOLR-5281.patch
>
>
> IndexSchema use core name for logging.
> But core name always output "[null] Schema..", the following.
> ---
> "3814 [coreLoadExecutor-3-thread-1] INFO org.apache.solr.schema.IndexSchema
> – Reading Solr Schema from schema.xml
> 3926 [coreLoadExecutor-3-thread-1] INFO org.apache.solr.schema.IndexSchema
> – [null] Schema name=example
> ---
> Maybe, property name pattern changed "name" to "solr.core.name" at SOLR-5162.
> --- IndexSchema.java
> ...
> public static final String NAME = "name";
> ...
> if (loader.getCoreProperties() != null) {
> sb.append(loader.getCoreProperties().getProperty(NAME));
> } else {
> sb.append("null");
> }
--
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]