cpliakas / solarium-luke
A Luke request handler for Solarium.
1.0.0
2016-03-03 20:16 UTC
Requires
- php: >=5.3.2
- solarium/solarium: 3.*
This package is auto-updated.
Last update: 2024-10-25 13:47:19 UTC
README
Overview
A Luke request handler to Solarium.
Usage
use Solarium\Client; use Solarium\QueryType\Luke\Query as LukeQuery; $client->registerQueryType(LukeQuery::QUERY_LUKE, 'Solarium\\QueryType\\Luke\\Query'); $luke = $client->createQuery(LukeQuery::QUERY_LUKE); $data = $client->execute($luke); print 'Top terms: '; var_dump($data->getTopTerms()); print PHP_EOL;