On 8/1/2013 7:24 AM, Prasi S wrote:
> I am rephrasing my question,
> 
> Currently what i haev is
> 
> Solr 8080 -> Shard1    Shard2- Replica
> Solr 9090 -> Shard 2     Shard 1 - Replica
> 
> Can we have something like
> 
> Solr 8080 -> Shard 1    , Shard 2
> solr 9090 ->  Shard2-Replica , Shard1- Replica

Restart Solr on port 9090.  When it comes back up, you'll have exactly
what you want.  The leaders for both shards will be on the 8080 instance.

Something to note -- BOTH of them are replicas.  One of them happens to
be designated the leader, and that designation can change at any time.
It's not quite correct to say that you have N shards and one replica --
what you have is N shards and a replicationFactor of 2.

Another thing to note - I hope these two instances of Solr are on
separate hardware.  If they aren't, then a server failure will take out
your entire cloud.

Thanks,
Shawn

Reply via email to