On 12/3/2014 2:51 AM, Ankit Jain wrote: > Hi Erick, > > We are using the 4.7.2 version of solr and no getCollectionList() method is > present in CloudSolrServer class.
That method is private, so you can't use it in a user program. I think this would probably do what you want, if server is an instance of CloudSolrServer: Set<String> list = server.getZkStateReader().getClusterState().getCollections(); Thanks, Shawn
