Apache Lucene open-source search software
SOLR-9007: remove mention of managed_schema_configs
Timothy Potter9d0da3156cc2
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex 6fc116b5156..0a784c48358 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -629,6 +629,9 @@ Bug Fixes* SOLR-8908: Fix to OnReconnect listener registration to allow listeners to deregister, suchas when a core is reloaded or deleted to avoid a memory leak. (Timothy Potter)+* SOLR-9007: Remove mention of the managed_schema_configs as valid config directory when creating+ the collection for the SolrCloud example. (Timothy Potter)+======================= 5.5.0 =======================Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this releasediff --git a/solr/core/src/java/org/apache/solr/util/SolrCLI.java b/solr/core/src/java/org/apache/solr/util/SolrCLI.javaindex 5804b5d264d..9627671faeb 100644--- a/solr/core/src/java/org/apache/solr/util/SolrCLI.java+++ b/solr/core/src/java/org/apache/solr/util/SolrCLI.java@@ -2637,14 +2637,13 @@ public class SolrCLI {"How many replicas per shard would you like to create? [2] ", "a replication factor", 2, 1, 4);echo("Please choose a configuration for the "+collectionName+" collection, available options are:");- cloudConfig =- prompt(readInput, "basic_configs, data_driven_schema_configs, sample_techproducts_configs, or managed_schema_configs ["+cloudConfig+"] ", cloudConfig);+ String validConfigs = "basic_configs, data_driven_schema_configs, or sample_techproducts_configs ["+cloudConfig+"] ";+ cloudConfig = prompt(readInput, validConfigs, cloudConfig);// validate the cloudConfig namewhile (!isValidConfig(configsetsDir, cloudConfig)) {echo(cloudConfig+" is not a valid configuration directory! Please choose a configuration for the "+collectionName+" collection, available options are:");- cloudConfig =- prompt(readInput, "basic_configs, data_driven_schema_configs, sample_techproducts_configs, or managed_schema_configs ["+cloudConfig+"] ", cloudConfig);+ cloudConfig = prompt(readInput, validConfigs, cloudConfig);}} else {// must verify if default collection exists