[ 
https://issues.apache.org/jira/browse/SOLR-5281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Rowe updated SOLR-5281:
-----------------------------

    Attachment: SOLR-5281.patch

Trivial patch against trunk.  I applied this to the lucene_solr_4_5 branch and 
the core name shows up in the log message instead of null.  Committing shortly.
                
> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to