Hi all,

There's an inconsistency in how Solr validates collection names between
creating a collection through the Collection API
(org.apache.solr.handler.admin.api.CreateCollectionAPI.java#L405, via the
SolrIdentifierValidator) and through the Package Manager
(org.apache.solr.packagemanager.PackageUtils.java#L271 with an inline
regex).

I'd like to update the Package Manager to use the more expansive
identifierPattern (which allows for collections containing a '.' character,
as our collections use semantic versioning as a naming convention), but I
couldn't find any concrete details on what the supported naming convention
was for Solr 9 nor any relevant discussion in the last 24 months in the
email archive (lists.apache.org/list.html).

Question 1: Is there anywhere this information exists (so I can do proper
due diligence in future), and/or is a search through Slack/email archive
generally sufficient to open a JIRA ticket?

Question 2: Should a minor change like this be discussed in email or
against an open PR? I'm still getting used to the Apache ways of working,
apologies if I've missed the point on the email approach!

Cheers,

Will

Reply via email to