cpliakas/solarium-system

An admin/system request handler for Solarium.

Installs: 22

Dependents: 0

Suggesters: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

3.0.0-beta1 2013-01-20 16:29 UTC

README

An admin/system request handler for Solarium.

Usage

use Solarium\Client;
use Solarium\QueryType\System\Query as SystemQuery;

$client->registerQueryType(SystemQuery::QUERY_SYSTEM, 'Solarium\\QueryType\\System\\Query');
$system = $client->createQuery(SystemQuery::QUERY_SYSTEM);
$result = $client->execute($system);

print 'Schema: ' . $result->getCoreSchema(); . PHP_EOL;