CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Public Member Functions | |
__construct ( $description, $queryType, array $extra=[]) | |
start () | |
Called when the network request is started. | |
finish () | |
Called when the network request has finished. | |
getTookMs () | |
getDescription () | |
getQueryType () | |
formatDescription () | |
Perform a quick and dirty replacement for $this->description when it's not going through monolog. | |
Public Member Functions inherited from CirrusSearch\RequestLog | |
getElasticTookMs () | |
isCachedResponse () | |
getLogVariables () | |
getRequests () | |
Protected Attributes | |
$description | |
$queryType | |
$extra | |
$startTime | |
$endTime | |
CirrusSearch\BaseRequestLog::__construct | ( | $description, | |
$queryType, | |||
array | $extra = [] ) |
string | $description | |
string | $queryType | |
array | $extra |
CirrusSearch\BaseRequestLog::finish | ( | ) |
Called when the network request has finished.
Implements CirrusSearch\RequestLog.
Reimplemented in CirrusSearch\BulkUpdateRequestLog, and CirrusSearch\SearchRequestLog.
CirrusSearch\BaseRequestLog::formatDescription | ( | ) |
Perform a quick and dirty replacement for $this->description when it's not going through monolog.
It replaces {foo} with the value of foo
Implements CirrusSearch\RequestLog.
CirrusSearch\BaseRequestLog::getDescription | ( | ) |
Implements CirrusSearch\RequestLog.
CirrusSearch\BaseRequestLog::getQueryType | ( | ) |
Implements CirrusSearch\RequestLog.
CirrusSearch\BaseRequestLog::getTookMs | ( | ) |
Implements CirrusSearch\RequestLog.
CirrusSearch\BaseRequestLog::start | ( | ) |
Called when the network request is started.
Implements CirrusSearch\RequestLog.