[ https://issues.apache.org/jira/browse/SOLR-6478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14175984#comment-14175984 ]
Anurag Sharma commented on SOLR-6478: ------------------------------------- Proper URL escaping can take care the white spaces and special characters. Also, since collection name is a folder it is bounded by the rules on folder/directory name. Any suggestion on good place to put test cases? > need docs / tests of the "rules" as far as collection names go > -------------------------------------------------------------- > > Key: SOLR-6478 > URL: https://issues.apache.org/jira/browse/SOLR-6478 > Project: Solr > Issue Type: Improvement > Reporter: Hoss Man > Labels: difficulty-medium, impact-medium > > historically, the rules for "core" names have been vague but implicitly > defined based on the rule that it had to be a valid directory path name - but > i don't know that we've ever documented anywhere what the rules are for a > "collection" name when dealing with the Collections API. > I haven't had a chance to try this, but i suspect that using the Collections > API you can create any collection name you want, and the zk/clusterstate.json > data will all be fine, and you'll then be able to request anything you want > from that collection as long as you properly URL escape it in your request > URLs ... but we should have a test that tries to do this, and document any > actual limitations that pop up and/or fix those limitations so we really can > have arbitrary collection names. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org