You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2019/07/30 01:43:00 UTC

[jira] [Created] (SOLR-13662) Script support for managing packages

Noble Paul created SOLR-13662:
---------------------------------

             Summary: Script support for managing packages
                 Key: SOLR-13662
                 URL: https://issues.apache.org/jira/browse/SOLR-13662
             Project: Solr
          Issue Type: Sub-task
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Noble Paul


example scripts
{code}
#add a repo to your Solr cluster. This adds the public key of the repo to our Solr ZK
# also store the file in /package-repo in ZK
bin/solr plugin add-repo <http:url-of-repo>

# searches all the registered repos for the pakage 'solr-highlighting" and version :0.1 and add 
# the package to solr cluster. After it's done thes component will be added to collections, coll1,coll2,coll3
bin/solr plugin install solr-highlighting:0.1 -c coll1,coll2,coll3
# deploy an already installed package to an existing set of collections 
bin/solr plugin deploy solr-highlighting -c coll1,coll2
# update an existing package solr-highlighting to , version '0.2'. This automatically 
#updates all the collections using this package
bin/solr plugin update solr-highlighting:0.2
# search and list all the registered repos for a component which has a string 'highlight' in description 
bin/solr plugin search “highlight”
{code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org