Hem created SOLR-11864:
--------------------------
Summary: API inconsistency in create and delete collection
Key: SOLR-11864
URL: https://issues.apache.org/jira/browse/SOLR-11864
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: v2 API
Affects Versions: 5.3.1
Reporter: Hem
When i create a collection through java using the client jar, if there is a
space following the collection name, the collection gets created.
But when i try to delete the same collection with the space through delete API
from the browser I get the error of collection not found.
Steps to reproduce:
# Create a collection through client with collection name having a space.
# Try to delete it using collection delete API through browser
Another issue is the collection name with space at the end, the shards are
always in recovery state and after some time shifts to degraded state.
The API should be able to delete the collection. And if collection name does
not require the space then there should be an internal trim or a validation
error thrown.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]