[
https://issues.apache.org/jira/browse/SOLR-5784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17521255#comment-17521255
]
David Smiley commented on SOLR-5784:
------------------------------------
This issue is really two very distinct issues / ideas. I've created one linked
issue for the clone collection part -- a great idea! I suppose the alias one
still has value; please file a separate issue if you want to contribute that.
Naturally the patch here is highly out of date (8 years old) but it can be some
inspiration.
> 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, 4.6.1
> Reporter: Raintung Li
> Priority: Major
> Attachments: patch-5784.txt
>
>
> 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
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]