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

Remediator implementation that queues jobs to fix the index. More...

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

Public Member Functions

 __construct ( $cluster, ?JobQueueGroup $jobQueueGroup=null)
 
 redirectInIndex (string $docId, WikiPage $page, string $indexSuffix)
 @inheritDoc
 
 pageNotInIndex (WikiPage $page)
 @inheritDoc
 
 ghostPageInIndex ( $docId, Title $title)
 @inheritDoc
 
 pageInWrongIndex ( $docId, WikiPage $page, $wrongIndex)
 @inheritDoc
 
 oldVersionInIndex ( $docId, WikiPage $page, $index)
 @inheritDoc
 
 oldDocument (WikiPage $page)
 @inheritDoc
 

Protected Attributes

 $cluster
 

Detailed Description

Remediator implementation that queues jobs to fix the index.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Constructor & Destructor Documentation

◆ __construct()

CirrusSearch\Sanity\QueueingRemediator::__construct ( $cluster,
?JobQueueGroup $jobQueueGroup = null )
Parameters
string | null$clusterThe name of the cluster to update, or null to update all clusters.
JobQueueGroup | null$jobQueueGroup

Member Function Documentation

◆ ghostPageInIndex()

CirrusSearch\Sanity\QueueingRemediator::ghostPageInIndex ( $docId,
Title $title )

@inheritDoc

Implements CirrusSearch\Sanity\Remediator.

◆ oldDocument()

CirrusSearch\Sanity\QueueingRemediator::oldDocument ( WikiPage $page)

@inheritDoc

Implements CirrusSearch\Sanity\Remediator.

◆ oldVersionInIndex()

CirrusSearch\Sanity\QueueingRemediator::oldVersionInIndex ( $docId,
WikiPage $page,
$index )

@inheritDoc

Implements CirrusSearch\Sanity\Remediator.

◆ pageInWrongIndex()

CirrusSearch\Sanity\QueueingRemediator::pageInWrongIndex ( $docId,
WikiPage $page,
$wrongIndex )

@inheritDoc

Implements CirrusSearch\Sanity\Remediator.

◆ pageNotInIndex()

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

@inheritDoc

Implements CirrusSearch\Sanity\Remediator.

◆ redirectInIndex()

CirrusSearch\Sanity\QueueingRemediator::redirectInIndex ( string $docId,
WikiPage $page,
string $indexSuffix )

@inheritDoc

Implements CirrusSearch\Sanity\Remediator.


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