Take a look here:
http://heliosearch.org/solrcloud-assigning-nodes-machines/
If you really, really, really require that shard1 be on server1 and
_not_ server 3 I'm not quite sure how you'd do it. But if you want
your leaders on servers 1 and 3, just use the nodeset. (Jürgen beat me
to it!).

Best
Erick

On Tue, Sep 2, 2014 at 9:00 PM, Lee Chunki <lck7...@coupang.com> wrote:
> Hi,
>
> I am trying to test Solr Cloud with version 4.1.0.
> (  
> http://wiki.apache.org/solr/SolrCloud#Example_C:_Two_shard_cluster_with_shard_replicas_and_zookeeper_ensemble
>  )
>
> Is there any way set shard & shard member ?
>
> for example.
> server1, server2 for shard1
> server3, server4 for shard2
>
> when I tested the example, shard member depend on running Solr order.
> i.e. run server1 -> server2 -> server3 -> server4 then server1, 3 are shard1 
> and server 2,4 are shard2
> of course, from second time there is no dependency of running Solr order.
>
> and I tried "-DshardId=shard1” but it is not working.
>
> Thanks,
> Chunki.

Reply via email to