lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Heisey (JIRA)" <>
Subject [jira] [Updated] (SOLR-8725) Cores, collections, and shards should accept hyphens in identifier name
Date Tue, 29 Mar 2016 19:24:25 GMT


Shawn Heisey updated SOLR-8725:
    Attachment: SOLR-8725-5_5.patch

I could not cherry-pick this change to the 5.5 branch, or even apply it as a patch.  The later
branches have deviated too far.

Instead I hand-edited a minimally invasive change to the pattern, the javadoc, and the message
in the thrown exception.  Patch for branch_5_5 attached.

If I temporarily revert an ill-advised commit that I made to change the version to 5.5.1,
precommit passes.

> Cores, collections, and shards should accept hyphens in identifier name
> -----------------------------------------------------------------------
>                 Key: SOLR-8725
>                 URL:
>             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.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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message