This kind of stuff can't be released without a way to rename the current
collections with hyphens (even for 6.0)

  

\--

  

/Yago Riveiro

  

![](https://link.nylas.com/open/m7fkqw0yim04itb62itnp7r9/d6c3ba33ed5f4ac8af3b2
9c07e2c5e91)

On Mar 28 2016, at 5:19 pm, Anshum Gupta <ans...@anshumgupta.net> wrote:  

> 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:  
&gt; <http://lucene.472066.n3.nabble.com/Unable-to-create-collection-
in-5-5-tp4266437.html>  
&gt; Sent from the Solr - User mailing list archive at Nabble.com.  
&gt;

>

> \--  
Anshum Gupta

Reply via email to