CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Decorating Remediator that logs the prints the errors. More...
Public Member Functions | |
__construct (Remediator $next) | |
Build the remediator. | |
redirectInIndex (WikiPage $page) | |
There is a redirect in the index. | |
pageNotInIndex (WikiPage $page) | |
A page isn't in the index. | |
ghostPageInIndex ( $docId, Title $title) | |
pageInWrongIndex ( $docId, WikiPage $page, $indexSuffix) | |
oldVersionInIndex ( $docId, WikiPage $page, $indexSuffix) | |
oldDocument (WikiPage $page) | |
Decorating Remediator that logs the prints the errors.
CirrusSearch\Sanity\PrintingRemediator::__construct | ( | Remediator | $next | ) |
Build the remediator.
Remediator | $next | the remediator that this one decorates |
CirrusSearch\Sanity\PrintingRemediator::ghostPageInIndex | ( | $docId, | |
Title | $title ) |
string | $docId | |
Title | $title |
Implements CirrusSearch\Sanity\Remediator.
CirrusSearch\Sanity\PrintingRemediator::oldDocument | ( | WikiPage | $page | ) |
WikiPage | $page | Page considered too old in index |
Implements CirrusSearch\Sanity\Remediator.
CirrusSearch\Sanity\PrintingRemediator::oldVersionInIndex | ( | $docId, | |
WikiPage | $page, | ||
$indexSuffix ) |
string | $docId | elasticsearch document id |
WikiPage | $page | page with outdated document in index |
string | $indexSuffix | index contgaining outdated document |
Implements CirrusSearch\Sanity\Remediator.
CirrusSearch\Sanity\PrintingRemediator::pageInWrongIndex | ( | $docId, | |
WikiPage | $page, | ||
$indexSuffix ) |
string | $docId | |
WikiPage | $page | |
string | $indexSuffix |
Implements CirrusSearch\Sanity\Remediator.
CirrusSearch\Sanity\PrintingRemediator::pageNotInIndex | ( | WikiPage | $page | ) |
A page isn't in the index.
WikiPage | $page | not in the index |
Implements CirrusSearch\Sanity\Remediator.
CirrusSearch\Sanity\PrintingRemediator::redirectInIndex | ( | WikiPage | $page | ) |
There is a redirect in the index.
WikiPage | $page | the page in the index |
Implements CirrusSearch\Sanity\Remediator.