CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Request log for requests that update the elasticsearch cluster. More...
Public Member Functions | |
__construct (\Elastica\Client $client, $description, $queryType, array $extra=[]) | |
finish () | |
Called when the network request has finished. | |
isCachedResponse () | |
getElasticTookMs () | |
getLogVariables () | |
getRequests () | |
We could generate multiple items for each bulk update that was sent..but doesn't seem necessary (yet). | |
Public Member Functions inherited from CirrusSearch\BaseRequestLog | |
__construct ( $description, $queryType, array $extra=[]) | |
start () | |
Called when the network request is started. | |
getTookMs () | |
getDescription () | |
getQueryType () | |
formatDescription () | |
Perform a quick and dirty replacement for $this->description when it's not going through monolog. | |
Additional Inherited Members | |
Protected Attributes inherited from CirrusSearch\BaseRequestLog | |
$description | |
$queryType | |
$extra | |
$startTime | |
$endTime | |
Request log for requests that update the elasticsearch cluster.
All update requests are done through bulk actions.
CirrusSearch\BulkUpdateRequestLog::__construct | ( | \Elastica\Client | $client, |
$description, | |||
$queryType, | |||
array | $extra = [] ) |
\Elastica\Client | $client | |
string | $description | |
string | $queryType | |
array | $extra |
CirrusSearch\BulkUpdateRequestLog::finish | ( | ) |
Called when the network request has finished.
Reimplemented from CirrusSearch\BaseRequestLog.
CirrusSearch\BulkUpdateRequestLog::getElasticTookMs | ( | ) |
Implements CirrusSearch\RequestLog.
CirrusSearch\BulkUpdateRequestLog::getLogVariables | ( | ) |
Implements CirrusSearch\RequestLog.
CirrusSearch\BulkUpdateRequestLog::getRequests | ( | ) |
We could generate multiple items for each bulk update that was sent..but doesn't seem necessary (yet).
Implements CirrusSearch\RequestLog.
CirrusSearch\BulkUpdateRequestLog::isCachedResponse | ( | ) |
Implements CirrusSearch\RequestLog.