cpliakas/solarium-system

An admin/system request handler for Solarium.

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;