0

I have a SolrCloud cluster and there are many Solr instances running within it. They are managed over a distributed Zookeeper ensemble.

Is there any way for Spring Solr data that will give external Zookeeper ensemble host names to a method so that we can retrieve the cluster state (i.e. clusterstate.json)?

kellyfj
  • 6,586
  • 12
  • 45
  • 66
kamaci
  • 72,915
  • 69
  • 228
  • 366

1 Answers1

0

I used that:

CloudSolrServer solrServer;
...
solrServer.getZkStateReader().getClusterState();
...
kamaci
  • 72,915
  • 69
  • 228
  • 366