Re: Collection shard name

2015-01-15 Thread Erick Erickson
By definition, all replicas in a shard should be identical. So Solr is doing exactly what I'd expect since you've created two nodes each belonging to shard1 because of this parameter: "shard=shard1" so updates will go to both exactly as they should. The name parameter will allow you to distinguish

Re: Collection shard name

2015-01-15 Thread Shawn Heisey
On 1/15/2015 12:59 PM, Shawn Heisey wrote: > On 1/15/2015 12:24 PM, Erick Erickson wrote: >> How do you get all the shards named identically in the first place? > What I have always heard is that this is what Solr 4.0.0 did when > creating a collection -- all the cores ended up with the same name a

Re: Collection shard name

2015-01-15 Thread kuttan palliyalil
Erick & Shawn,  I am using Solr 4.10.2.  Here is the create command,  keeping the shard= same and changing the name=  http://''/solr/admin/cores?action=CREATE&name=shard1_1&collection=collectionName&shard=shard1&collection.configName=collconf'http://''/solr/admin/cores?action=CREATE&name=shard1_2&

Re: Collection shard name

2015-01-15 Thread Shawn Heisey
On 1/15/2015 12:24 PM, Erick Erickson wrote: > How do you get all the shards named identically in the first place? What I have always heard is that this is what Solr 4.0.0 did when creating a collection -- all the cores ended up with the same name as the collection. I have never used 4.0.0, so I

Re: Collection shard name

2015-01-15 Thread Erick Erickson
How do you get all the shards named identically in the first place? Best Erick On Thu, Jan 15, 2015 at 8:49 AM, kuttan palliyalil wrote: > When the shard names in a collection is same across the nodes, then posting > to the collection the data gets posted to all the shards instead of > distri

Collection shard name

2015-01-15 Thread kuttan palliyalil
When  the shard names in a collection is same across the nodes, then posting to the collection the data gets posted to all the shards instead of distributing them . i.e. all the shards have the same data similar to replica. Is this expected ?   RegardsRajesh