cpliakas/solarium-statsjsp

A stats.jsp request handler for Solarium.

dev-master 2013-01-14 04:12 UTC

This package is auto-updated.

Last update: 2024-10-25 13:30:49 UTC


README

A Stats.jsp request handler to Solarium.

Usage

use Solarium\Client;
use Solarium\QueryType\StatsJsp\Query as StatsJspQuery;

$client->registerQueryType(StatsJspQuery::QUERY_STATSJSP, 'Solarium\\QueryType\\StatsJsp\\Query');
$stats_jsp = $client->createQuery(StatsJspQuery::QUERY_STATSJSP);
$data = $client->execute($stats_jsp);

print 'Schema: ' . $data->getSchema(); . PHP_EOL;