includes/class/Solr.class.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Broker
Package
Broker  

\Broker\Solr

Package: Broker
Handles solr requests

Properties

>VPropertyprivate\Broker\Cache $cache = null
Cache
Default valuenullDetails
Type
\Broker\Cache
>VPropertyprivateobject $configuration = null
Configuration
Default valuenullDetails
Type
object
>VPropertyprivatestring $handler = null
Handler
Default valuenullDetails
Type
string
>VPropertyprivatestring $request = null
Request
Default valuenullDetails
Type
string
>VPropertyprivatestring $requestAddition = null
Request addition
Default valuenullDetails
Type
string
>VPropertyprivatearray $shards = null
Shards
Default valuenullDetails
Type
array
>VPropertyprivatestring $url = null
Url
Default valuenullDetails
Type
string

Methods

methodpublic__construct(string $configuration, string $url, string $handler, string $request, string $requestAddition, array $shards, \Broker\Cache $cache) : void

Constructor

Parameters
NameTypeDescription
$configurationstring
$urlstring
$handlerstring
$requeststring
$requestAdditionstring
$shardsarray
$cache\Broker\Cache
methodpublicgetResponse() : object

Perform request and return response object

Returns
TypeDescription
object
Throws
ExceptionDescription
\Broker\SolrException
Documentation was generated by phpDocumentor 2.8.5.