Hoss Man created SOLR-6948:
------------------------------
Summary: "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: Hoss Man
Assignee: Timothy Potter
Priority: Minor
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
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]