Re: copy data between collection

2015-11-14 Thread KNitin
Yes that is correct. https://github.com/bloomreach/solrcloud-haft helps precisely with that. You can clone an entire cluster or selective collections between clusters. It has only been tested upto solr 4.10 Let me know if you run into issues Nitin On Mon, Oct 26, 2015 at 9:46 AM, Jeff Wartes

copy data between collection

2015-10-26 Thread Chaushu, Shani
Hi, Is there an API to copy all the documents from one collection to another collection in the same solr server simply? I'm using solr cloud 4.10 Thanks, Shani - Intel Electronics Ltd. This e-mail and any attachments may

Re: copy data between collection

2015-10-26 Thread Upayavira
Hi Shani, There isn't a SolrCloud way to do it. A proper 'clone this collection' feature would be a very useful thing. However, I have managed to do it, in a way that involves some caveats: * you should only do this on a collection that has no replicas. Add replicas *after* cloning the index

Re: copy data between collection

2015-10-26 Thread Jeff Wartes
The “copy” command in this tool automatically does what Upayavira describes, including bringing the replicas up to date. (if any) https://github.com/whitepages/solrcloud_manager I’ve been using it as a mechanism for copying a collection into a new cluster (different ZK), but it should work