Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
6.0
-
None
Description
Current version of Core STATUS returns an empty response if requested core doesn't exist.
e.q:
http://localhost:8900/solr/admin/cores?action=STATUS&core=abc
<response> <lst name="responseHeader"> <int name="status">0</int> <int name="QTime">1</int> </lst><lst name="initFailures"/> <lst name="status"> <lst name="abc"/> </lst> </response>
Instead, it would be good to return an error message stating that the core doesn't exist.
e.g
<response> <lst name="responseHeader"> <int name="status">400</int> <int name="QTime">27</int> </lst> <lst name="initFailures"/> <lst name="error"> <str name="msg">Core [abc] does not exist</str> <int name="code">400</int> </lst> </response>
Attachments
Attachments
Issue Links
- links to