CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\Sanity\PrintingRemediator Class Reference

Decorating Remediator that logs the prints the errors. More...

+ Inheritance diagram for CirrusSearch\Sanity\PrintingRemediator:
+ Collaboration diagram for CirrusSearch\Sanity\PrintingRemediator:

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)
 

Detailed Description

Decorating Remediator that logs the prints the errors.

Constructor & Destructor Documentation

◆ __construct()

CirrusSearch\Sanity\PrintingRemediator::__construct ( Remediator $next)

Build the remediator.

Parameters
Remediator$nextthe remediator that this one decorates

Member Function Documentation

◆ ghostPageInIndex()

CirrusSearch\Sanity\PrintingRemediator::ghostPageInIndex ( $docId,
Title $title )
Parameters
string$docId
Title$title

Implements CirrusSearch\Sanity\Remediator.

◆ oldDocument()

CirrusSearch\Sanity\PrintingRemediator::oldDocument ( WikiPage $page)
Parameters
WikiPage$pagePage considered too old in index

Implements CirrusSearch\Sanity\Remediator.

◆ oldVersionInIndex()

CirrusSearch\Sanity\PrintingRemediator::oldVersionInIndex ( $docId,
WikiPage $page,
$indexSuffix )
Parameters
string$docIdelasticsearch document id
WikiPage$pagepage with outdated document in index
string$indexSuffixindex contgaining outdated document

Implements CirrusSearch\Sanity\Remediator.

◆ pageInWrongIndex()

CirrusSearch\Sanity\PrintingRemediator::pageInWrongIndex ( $docId,
WikiPage $page,
$indexSuffix )
Parameters
string$docId
WikiPage$page
string$indexSuffix

Implements CirrusSearch\Sanity\Remediator.

◆ pageNotInIndex()

CirrusSearch\Sanity\PrintingRemediator::pageNotInIndex ( WikiPage $page)

A page isn't in the index.

Parameters
WikiPage$pagenot in the index

Implements CirrusSearch\Sanity\Remediator.

◆ redirectInIndex()

CirrusSearch\Sanity\PrintingRemediator::redirectInIndex ( WikiPage $page)

There is a redirect in the index.

Parameters
WikiPage$pagethe page in the index

Implements CirrusSearch\Sanity\Remediator.


The documentation for this class was generated from the following file: