Thanks Shawn ...

Thanks,
Ankit

On Wed, Dec 3, 2014 at 9:40 PM, Shawn Heisey <[email protected]> wrote:

> 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
>
>


-- 
Thanks,
Ankit Jain

Reply via email to