Re: Add a new replica to SolrCloud

2014-07-13 Thread rulinma
can do this. -- View this message in context: http://lucene.472066.n3.nabble.com/Add-a-new-replica-to-SolrCloud-tp4146229p4146970.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Add a new replica to SolrCloud

2014-07-09 Thread Erick Erickson
Here's a blog on the topic of creating cores on particular nodes. http://heliosearch.org/solrcloud-assigning-nodes-machines/ Himanshu: What you wrote works perfectly well. FYW, this can also be done with the Collections API. The Collections API is evolving though, so what commands are available

Add a new replica to SolrCloud

2014-07-08 Thread Varun Gupta
Hi, I am currently using Solr 4.7.2 and have SolrCloud setup running on 2 servers with number of shards as 2, replication factor as 2 and mas shards per node as 4. Now, I want to add another server to the SolrCloud as a replica. I can see Collection API to add a new replica but that was added in

Re: Add a new replica to SolrCloud

2014-07-08 Thread Shalin Shekhar Mangar
Yes, you can just call a Core Admin CREATE on the new node with the collection name and optionally the shard name. On Wed, Jul 9, 2014 at 9:46 AM, Varun Gupta varun.vgu...@gmail.com wrote: Hi, I am currently using Solr 4.7.2 and have SolrCloud setup running on 2 servers with number of

Re: Add a new replica to SolrCloud

2014-07-08 Thread Himanshu Mehrotra
Yes, there is a way. One node on which replica needs to be created hit curl ' http://localhost:8983/solr/admin/cores?action=CREATEname=corenamecollection=collectionshard= http://localhost:8983/solr/admin/cores?action=CREATEname=mycorecollection=collection1shard=shard2 shardid' For example curl