Re: Multiple replicas for specific shard

2013-08-28 Thread maephisto
Thanks Erik, I think this answers my question -- View this message in context: http://lucene.472066.n3.nabble.com/Multiple-replicas-for-specific-shard-tp4086828p4087019.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Multiple replicas for specific shard

2013-08-28 Thread Erick Erickson
http://wiki.apache.org/solr/SolrCloud#Creating_cores_via_CoreAdmin. Essentially you create a core on a new machine and assign it a collection and shard. It'll register itself, replicate the data from the leader and join the cluster automatically. You could script this too, but be aware that the r

Re: Multiple replicas for specific shard

2013-08-28 Thread maephisto
Thanks Keith! But could this be done dinamically? Let's take the following example: a SolrCloud cluster with sport event results split in three shards by category - footbal shard, golf shard and baseball shard. Each of this shards has a replica on a machine. Then i realize that my footbal related

Re: Multiple replicas for specific shard

2013-08-27 Thread Keith Duntz
I think you could do this by specifying the shard id of each core in solr.xml. Something like... Cheers, Keith On Tue, Aug 27, 2013 at 10:01 AM, maephisto wrote: > Hi! > > Imagine the following configuration: a SolrCloud cluster, with 3 shards, a > rep