Raintung Li created SOLR-5784:
---------------------------------

             Summary: Solr create collection can support clone, and alias can 
support add collection function
                 Key: SOLR-5784
                 URL: https://issues.apache.org/jira/browse/SOLR-5784
             Project: Solr
          Issue Type: Improvement
          Components: SolrCloud
    Affects Versions: 4.6.1, 4.6
            Reporter: Raintung Li


Solr API improvement.
a. Clone the collection 
Create a new collection that configuration is same as the other collection 
exclude the index data.
 It can make easy to create the collection only know the other collection name.
URL example:
http://localhost:8983/solr/admin/collections?action=clone&name=new collection 
name&cloneCollection=[clone name]

b. Add one collection into alias.
Alias API only update the alias should be know all collections, it isn't easy 
use.
http://localhost:8983/solr/admin/collections?action=CREATEALIAS&name=alias&addCollections=collection1

a,b case easy use for Alias function.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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

Reply via email to