Search Manual / Version 2304
Table Of ContentsSolrCloud uses ZooKeeper for cluster configuration and coordination. In a SolrCloud setup, CoreMedia applications are not configured with the URL(s) of one or multiple Solr servers, but with ZooKeeper address(es) instead. ZooKeeper maintains the list of currently active Solr servers that clients can use for search and indexing.
Note
Be aware, that according to ZooKeeper Ensemble Configuration you should not use Solr’s embedded ZooKeeper, but an external ZooKeeper setup.
To configure a CoreMedia application to connect to SolrCloud, you simply set the property
solr.cloud=true
to enable SolrCloud mode, and property solr.zookeeper.addresses
with the addresses of the ZooKeeper servers. For example:
solr.cloud=true solr.zookeeper.addresses=zookeeper1:2181,zookeeper2:2181,zookeeper3:2181