You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Anshum Gupta (JIRA)" <ji...@apache.org> on 2016/03/30 01:20:25 UTC

[jira] [Reopened] (SOLR-8725) Cores, collections, and shards should accept hyphens in identifier name

     [ https://issues.apache.org/jira/browse/SOLR-8725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anshum Gupta reopened SOLR-8725:
--------------------------------

Shawn pointed out to an issue with the regular expression to me on irc. Here's a fix with a quick test. 

[~elyograg], mind taking a look?

> Cores, collections, and shards should accept hyphens in identifier name
> -----------------------------------------------------------------------
>
>                 Key: SOLR-8725
>                 URL: https://issues.apache.org/jira/browse/SOLR-8725
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.5
>            Reporter: Chris Beer
>            Assignee: Anshum Gupta
>             Fix For: master, 6.0
>
>         Attachments: SOLR-8725-5_5.patch, SOLR-8725-fix-regex.patch, SOLR-8725.patch, SOLR-8725.patch
>
>
> In SOLR-8642, hyphens are no longer considered valid identifiers for cores (and collections?). Our solr instance was successfully using hyphens in our core names, and our affected cores now error with:
> marc-profiler_shard1_replica1: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Invalid name: 'marc-profiler_shard1_replica1' Identifiers must consist entirely of periods, underscores and alphanumerics
> Before starting to rename all of our collections, I wonder if this decision could be revisited to be backwards compatible with previously created collections.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org