Re: Distributing Collections across Shards

2016-03-30 Thread Salman Ansari
Thanks Erick for the help. Appreciate it. Regards, Salman On Wed, Mar 30, 2016 at 7:29 AM, Erick Erickson wrote: > Absolutely. You haven't said which version of Solr you're using, > but there are several possibilities: > 1> create the collection with replicationFactor=1, then use the > ADDREPLI

Re: Distributing Collections across Shards

2016-03-29 Thread Erick Erickson
Absolutely. You haven't said which version of Solr you're using, but there are several possibilities: 1> create the collection with replicationFactor=1, then use the ADDREPLICA command to specify exactly what node the replicas for each shard are created on with the 'node' parameter. 2> For recent

Distributing Collections across Shards

2016-03-29 Thread Salman Ansari
Hi, I believe the default behavior of creating collections distributed across shards through the following command http:// [solrlocation]:8983/solr/admin/collections?action=CREATE&name=[collection_name]&numShards=2&replicationFactor=2&maxShardsPerNode=2&collection.configName=[configuration_name]