dev-master 2022-08-01 08:12 UTC

This package is not auto-updated.

Last update: 2024-07-11 17:10:27 UTC


Solarium extension to connect to SolrCloud via Apache Zookeeper.

This extension is deprecated. Solarium itself now supports Solr Cloud and its APIs directly.


The extension requires the PHP Zookeeper extension, which can be found here:

In order to compile the extension you need to have the Apache Zookeeper C-library installed. Instructions on how to build the extension can be found here:

Example use

You can create a CloudClient using the following code:

    $options = array('zkhosts' => 'localhost:2181');
    $client = new \Solarium\Cloud\Client($options);
    $query = $client->createSelect();
    $result = $client->select($query);