|
| $request |
|
| $response |
|
| $description |
|
| $queryType |
|
| $extra |
|
| $startTime |
|
| $endTime |
|
◆ __construct()
CirrusSearch\SearchRequestLog::__construct |
( |
\Elastica\Client | $client, |
|
|
| $description, |
|
|
| $queryType, |
|
|
array | $extra = [], |
|
|
?array | $namespaces = null ) |
- Parameters
-
\Elastica\Client | $client | |
string | $description | |
string | $queryType | |
array | $extra | |
int[] | null | $namespaces | list of known namespaces to query, null if unknown or inappropriate |
◆ extractHits()
CirrusSearch\SearchRequestLog::extractHits |
( |
array | $responseData | ) |
|
|
protected |
- Parameters
-
- Returns
- array[]
◆ extractRequestVariables()
CirrusSearch\SearchRequestLog::extractRequestVariables |
( |
| $query | ) |
|
|
protected |
◆ extractResponseVariables()
CirrusSearch\SearchRequestLog::extractResponseVariables |
( |
| $responseData | ) |
|
|
protected |
◆ finish()
CirrusSearch\SearchRequestLog::finish |
( |
| ) |
|
◆ getElasticTookMs()
CirrusSearch\SearchRequestLog::getElasticTookMs |
( |
| ) |
|
◆ getLogVariables()
CirrusSearch\SearchRequestLog::getLogVariables |
( |
| ) |
|
◆ getRequests()
CirrusSearch\SearchRequestLog::getRequests |
( |
| ) |
|
◆ isCachedResponse()
CirrusSearch\SearchRequestLog::isCachedResponse |
( |
| ) |
|
◆ setCachedResult()
CirrusSearch\SearchRequestLog::setCachedResult |
( |
array | $extra | ) |
|
The documentation for this class was generated from the following file:
- includes/SearchRequestLog.php