You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2015/12/10 13:18:11 UTC

[jira] [Created] (SOLR-8400) Add more collection level commands to bin/solr

Jan Høydahl created SOLR-8400:
---------------------------------

             Summary: 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org