You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ivan Hrytsyuk (Closed) (JIRA)" <ji...@apache.org> on 2011/11/18 13:38:51 UTC

[jira] [Closed] (SOLR-2905) CoreAdminHandler STATUS should display name of default core

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

Ivan Hrytsyuk closed SOLR-2905.
-------------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: 4.0)
    
> CoreAdminHandler STATUS should display name of default core
> -----------------------------------------------------------
>
>                 Key: SOLR-2905
>                 URL: https://issues.apache.org/jira/browse/SOLR-2905
>             Project: Solr
>          Issue Type: Bug
>          Components: multicore
>    Affects Versions: 3.4
>            Reporter: Ivan Hrytsyuk
>            Priority: Minor
>
> STATUS action returns empty name for default core.
> solr.xml:
> {code:xml}
>   <cores adminPath="/admin/cores" defaultCoreName="core1">
>     <core name="core1" instanceDir="." />
> 	<core name="core2" instanceDir="." />
>   </cores>
> {code}
> http://localhost:8983/solr/admin/cores?action=STATUS returns
> {code:xml}
> <response>
>     ...
>     <lst name="status">
>         <lst name=""> <!-- name is empty here -->
>             <str name="name"/> <!-- name is empty here -->
>             <str name="instanceDir">solr\.\</str>
>             <str name="dataDir">solr\.\data\</str>
>             ...
>         </lst>
>         <lst name="core2">
>             <str name="name">core2</str>
>             <str name="instanceDir">solr\.\</str>
>             <str name="dataDir">solr\.\data\</str>
>             ...
>         </lst>
>     </lst>
> </response>
> {code}
> but everything works as expected if remove
> {code:xml}
>   defaultCoreName="core1"
> {code}
> from solr.xml

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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