You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by ramesh choudhury <ra...@gmail.com> on 2018/09/06 21:27:09 UTC

How to find out which active node CloudSolrClient picked up

Hello,

I have a requirement to develop a load balancer client for Search. I am
trying to use CloudSolrClient API query my collections. As per
documentation, it says that, CloudSolrClient internally uses "LBHttpSolrClient"
send the requests in a round-robin way to all live nodes.

I implemented that, it is working. But I would like to print which live
node the query is hitting out of many from Solr Cloud.

Please let me know, how to implement that.

Thanks,
Ramesh