[ https://issues.apache.org/jira/browse/SOLR-6948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17900157#comment-17900157 ]
Chris M. Hostetter commented on SOLR-6948: ------------------------------------------ I think it would make a nice little improvement for some new contributor to work on some day if so inclined : ) > "bin/solr -e cloud" shouldn't bother to ask about collection options if it > already exists > ----------------------------------------------------------------------------------------- > > Key: SOLR-6948 > URL: https://issues.apache.org/jira/browse/SOLR-6948 > Project: Solr > Issue Type: Improvement > Reporter: Chris M. Hostetter > Assignee: Timothy Potter > Priority: Minor > Labels: newdev > > if you run "bin/solr -e cloud" and select all defaults, and then later you > run it again the output looks like this... > {noformat} > ... > Now let's create a new collection for indexing documents in your 2-node > cluster. > Please provide a name for your new collection: [gettingstarted] > gettingstarted > How many shards would you like to split gettingstarted into? [2] > 2 > How many replicas per shard would you like to create? [2] > 2 > Please choose a configuration for the gettingstarted collection, available > options are: > basic_configs, data_driven_schema_configs, or sample_techproducts_configs > [data_driven_schema_configs] > Connecting to ZooKeeper at localhost:9983 > Collection 'gettingstarted' already exists! > Checked collection existence using Collections API command: > http://127.0.1.1:8983/solr/admin/collections?action=list > SolrCloud example running, please visit http://localhost:8983/solr > {noformat} > ...instead of asking about shards, replicas, and config set the cloud example > should probably check for hte existing of the collection name as soon as the > user supplies a name, and then exit immediately with just the final part... > {noformat} > Now let's create a new collection for indexing documents in your 2-node > cluster. > Please provide a name for your new collection: [gettingstarted] > gettingstarted > Collection 'gettingstarted' already exists! > Checked collection existence using Collections API command: > http://127.0.1.1:8983/solr/admin/collections?action=list > SolrCloud example running, please visit http://localhost:8983/solr > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org