lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-5281) Incorrect access core.properties in IndexSchema.java
Date Fri, 27 Sep 2013 21:12:03 GMT

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

ASF subversion and git services commented on SOLR-5281:
-------------------------------------------------------

Commit 1527080 from [~steve_rowe] in branch 'dev/branches/lucene_solr_4_5'
[ https://svn.apache.org/r1527080 ]

SOLR-5281: IndexSchema log message was printing '[null]' instead of '[<core name>]'
(merge trunk r1526972 and 1527074)
                
> 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
>            Assignee: Steve Rowe
>            Priority: Minor
>             Fix For: 5.0, 4.6
>
>         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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message