[
https://issues.apache.org/jira/browse/SOLR-8400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15517554#comment-15517554
]
Jan Høydahl commented on SOLR-8400:
-----------------------------------
Any opinions about a new set of collection admin commands for bin/solr?
> 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
>
> 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
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]