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
Fix For: 4.0
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: [email protected]
For additional commands, e-mail: [email protected]