Hi,

We have setup the SOLR cloud with zookeeper.

 Zookeeper (localhost:8000)
 1 shard   (localhost:9000)
 2 Replica (localhost:9001,localhost:9002)

 Question :
  We load the solr index from Relational DB using DIH, Based on solr cloud
documentation the request to load the data will be forwarded to Leader.



Collection--------Shard1---------Leader1(localhost:9000)
                          |   |_________Replication1(localhost:9001)
                          |____________Replication2 (localhost :9002)

1.   To identify Leader (Here localhost:9000) from the zookeeper,  do we
need to read the znode clusterstate.json having leader=true   by connecting
to zookeeper. ?
             

2.  Do we need to keep external load balancer for (localhost:9000,9001,9002)
to route request ?

Is there any other way ?

Thanks,
Sathish

   






          

                      




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Application-connecting-to-SOLR-cloud-tp4066220.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to