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

Eric Pugh commented on SOLR-8400:
---------------------------------

I think that when we start using the v2 apis with the java stub client, that 
this all becomes much easier to implmeent!

> Add more collection level commands to bin/solr
> ----------------------------------------------
>
>                 Key: SOLR-8400
>                 URL: https://issues.apache.org/jira/browse/SOLR-8400
>             Project: Solr
>          Issue Type: Improvement
>          Components: scripts and tools
>            Reporter: Jan Høydahl
>            Priority: Major
>
> Now that SOLR-8378 adds {{upconfig}} and {{downconfig}} to bin/solr, the next 
> logical thing is to allow people to reload the collection after a config 
> upload.
> Other useful collection commands to have available from command line could be 
> {{list}}, {{linkconfig}} and {{migratestateformat}}. Adding this many will 
> clutter the tool usage - perhaps we should have had a {{collection}} 
> namespace as well as the new {{zk}} one? Imagine the following shell command 
> sequence:
> {code}
> for coll in $(bin/solr collection list) ; do
>   bin/solr collection migratestateformat -c $coll
> done
> bin/solr zk upconfig -d my/dir -n mynewconf
> bin/solr collection linkconfig -n mynewconf -c mycoll
> bin/solr collection reload -c mycoll
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to