[ https://issues.apache.org/jira/browse/SOLR-16054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Høydahl resolved SOLR-16054. -------------------------------- Resolution: Invalid Closing as invalid. Please ask questions in the [us...@solr.apache.org|mailto:us...@solr.apache.org] mailing list. Documentation is here [https://solr.apache.org/guide/8_11/taking-solr-to-production.html#environment-banner-in-admin-ui] You can use 'dev', 'test' or 'stage' or 'prod'. The regex pattern is {{{}"^(prod|stage|test|dev)(,label=([\\w\\d+ _-]+))?(,color=([#\\w\\d]+))?"{}}}. Example {code:java} -Dsolr.environment=prod,label=ProdA,color=orange{code} > Environment banner not working if environment is not dev or prod > ---------------------------------------------------------------- > > Key: SOLR-16054 > URL: https://issues.apache.org/jira/browse/SOLR-16054 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Affects Versions: 8.11.1 > Reporter: Gaël Jourdan > Priority: Minor > > When using the new system property to display a environment banner in Solr > UI, I cannot make it work. > > First attempt with `-Dsolr.environment=unknown,color=red` gives the following > error message on the UI: "Bad environment pattern: unknown,color=red". > > Second attempt with just `-Dsolr.environment=unknown` gives no error but no > banner appear nowhere. > > Third attempt using "dev" or "prod" do work. Thus I'm guessing there is a > list of allowed values? > I believe any value should be accepted as orgs can have various name for > their environment, especially with ephemeral environment. > Or at least the documentation should mention the list of allowed values. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org