lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <j...@apache.org>
Subject [jira] [Created] (SOLR-8400) Add more collection level commands to bin/solr
Date Thu, 10 Dec 2015 12:18:11 GMT
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


Mime
View raw message