Look at the \contrib\rest directory for zookeeper-3.4.5-rest.jar. It may
give you REST access to ZK - @nazik_huq

On Wed, Nov 19, 2014 at 10:27 AM, Ian Rose <ianr...@fullstory.com> wrote:

> I don't think zookeeper has a REST api.  You'll need to use a Zookeeper
> client library in your language (or roll one yourself).
>
> On Wed, Nov 19, 2014 at 9:48 AM, nabil Kouici <koui...@yahoo.fr> wrote:
>
> > Hi All,
> >
> > I'm connecting to solr using REST API (No library like SolJ). As my solr
> > configuration is in cloud using Zookeeper ensemble, I don't know how to
> get
> > available Solr server from ZooKeeper to be used in my URL Call. With
> SolrJ
> > I can do:
> >
> > String zkHostString = "10.0.1.8:2181";
> > CloudSolrServersolr = newCloudSolrServer(zkHostString);
> > solr.connect();
> >
> > SolrQuerysolrQuery = newSolrQuery("*:*");
> > solrQuery.setRows(10);
> > QueryResponse resp = solr.query(solrQuery);
> >
> > Any help.
> >
> > Regards,
> > Nabil
>

Reply via email to