Skip to content

utility service to locate nodes, using zookeeper api, on a solr cloud cluster where a given collection is deployed and can be requested

Notifications You must be signed in to change notification settings

ychantit/solrCloud_discovery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

solrCloud_discovery

Utility service to locate nodes in a solr cloud where a given collection (i.e. index) is deployed and can be requested.

The service use Zookeeper Java API to read solr ZNode of Zookeeper to fetch both clusterstate.json and aliases.json files.

This project includes an example implementation of znode Watcher api.

The watcher bring in the benefit for the clients to be aware in near real time of any change in solr cluster state.

Test class shows an example usage of the service. You only need to provide a connexion string for zookeeper client.

P.S : You may want to go with solr4j library

About

utility service to locate nodes, using zookeeper api, on a solr cloud cluster where a given collection is deployed and can be requested

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages