Yes, this was added in 5.5, though I think it shouldn't have been,
specially the hyphens.
The hyphen was added back as part of SOLR-8725 but it would only be would
with 6.0 (and 5.5.1).


On Mon, Mar 28, 2016 at 7:36 AM, Yago Riveiro <yago.rive...@gmail.com>
wrote:

> Hi,
>
> With solr 5.5 I can't create a collection with the name collection-16, and
> in 5.3.1 I can do it, Why?
>
> <?xml version="1.0" encoding="UTF-8"?>
> <response>
> <lst name="responseHeader"><int name="status">400</int><int
> name="QTime">1</int></lst><lst name="error"><lst name="metadata"><str
> name="error-class">org.apache.solr.common.SolrException</str><str
>
> name="root-error-class">org.apache.solr.common.SolrException</str></lst><str
> name="msg">Invalid name: 'collection-16' Identifiers must consist entirely
> of periods, underscores and alphanumerics</str><int
> name="code">400</int></lst>
> </response>
>
>
>
> -----
> Best regards
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Unable-to-create-collection-in-5-5-tp4266437.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Anshum Gupta

Reply via email to