I am attempting to check for existence of a collection prior to creating a
new one with that name, using Solrj:

        System.out.println("Checking for existence of collection...");
        ZkStateReader zkStateReader = this.server.getZkStateReader(); 
        zkStateReader.updateClusterState();

this.server was created using:

       this.server = new CloudSolrClient(this.ZK_HOST);

The call: this.server.getZkStateReader() consistently returns a NULL.

Any help would be appreciated. Thanks.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/getZkStateReader-returning-NULL-tp4274663.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to