I'm not sure why this would be a problem as older collections would
continue to work just fine. Do you mean that the restriction doesn't allow
you to e.g. add a shard with a valid name, to an older collection ?

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

> 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 &lt;ans...@anshumgupta.net&gt;
> 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 &lt;yago.rive...@gmail.com
> &gt;
> wrote:
>
> >
>
> > &gt; Hi,
> &gt;
> &gt; With solr 5.5 I can't create a collection with the name collection-16,
> and
> &gt; in 5.3.1 I can do it, Why?
> &gt;
> &gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;
> &gt; &lt;response&gt;
> &gt; &lt;lst name="responseHeader"&gt;&lt;int
> name="status"&gt;400&lt;/int&gt;&lt;int
> &gt; name="QTime"&gt;1&lt;/int&gt;&lt;/lst&gt;&lt;lst
> name="error"&gt;&lt;lst
> name="metadata"&gt;&lt;str
> &gt; name="error-
> class"&gt;org.apache.solr.common.SolrException&lt;/str&gt;&lt;str
> &gt;
> &gt; name="root-error-
>
> class"&gt;org.apache.solr.common.SolrException&lt;/str&gt;&lt;/lst&gt;&lt;str
> &gt; name="msg"&gt;Invalid name: 'collection-16' Identifiers must consist
> entirely
> &gt; of periods, underscores and alphanumerics&lt;/str&gt;&lt;int
> &gt; name="code"&gt;400&lt;/int&gt;&lt;/lst&gt;
> &gt; &lt;/response&gt;
> &gt;
> &gt;
> &gt;
> &gt; \-----
> &gt; Best regards
> &gt; \--
> &gt; 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
>
>


-- 
Anshum Gupta

Reply via email to