[ 
https://issues.apache.org/jira/browse/SOLR-6933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14270479#comment-14270479
 ] 

Grant Ingersoll commented on SOLR-6933:
---------------------------------------

bq. and instead adding a new "create" that delegates to them as needed.

+1

bq.  First, what does the usage (bin/solr create -help) say? Options like 
-shards, -maxShardsPerNode, -replicationFactor don't apply when creating a 
core. 

If we are just delegating, than can we delegate to the underlying help too?

bq. I think the script should error out and tell the user that option is only 
when running in cloud mode.

 +1

bq. So if we think there's real benefit to having a "create" alias 

+1

> bin/solr script should just have a single create action that creates a core 
> or collection depending on the mode solr is running in
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-6933
>                 URL: https://issues.apache.org/jira/browse/SOLR-6933
>             Project: Solr
>          Issue Type: Improvement
>          Components: scripts and tools
>            Reporter: Timothy Potter
>            Assignee: Timothy Potter
>
> instead of create_core and create_collection, just have create that creates a 
> core or a collection based on which mode Solr is running in.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to