Jun Ohtani created SOLR-5281:
--------------------------------

             Summary: 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


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]

Reply via email to