lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <>
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
             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:
for coll in $(bin/solr collection list) ; do
  bin/solr collection migratestateformat -c $coll
bin/solr zk upconfig -d my/dir -n mynewconf
bin/solr collection linkconfig -n mynewconf -c mycoll
bin/solr collection reload -c mycoll

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message