CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Remediator implementation that queues jobs to fix the index. More...
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 | |
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
CirrusSearch\Sanity\QueueingRemediator::__construct | ( | $cluster, | |
?JobQueueGroup | $jobQueueGroup = null ) |
string | null | $cluster | The name of the cluster to update, or null to update all clusters. |
JobQueueGroup | null | $jobQueueGroup |
CirrusSearch\Sanity\QueueingRemediator::ghostPageInIndex | ( | $docId, | |
Title | $title ) |
@inheritDoc
Implements CirrusSearch\Sanity\Remediator.
CirrusSearch\Sanity\QueueingRemediator::oldDocument | ( | WikiPage | $page | ) |
@inheritDoc
Implements CirrusSearch\Sanity\Remediator.
CirrusSearch\Sanity\QueueingRemediator::oldVersionInIndex | ( | $docId, | |
WikiPage | $page, | ||
$index ) |
@inheritDoc
Implements CirrusSearch\Sanity\Remediator.
CirrusSearch\Sanity\QueueingRemediator::pageInWrongIndex | ( | $docId, | |
WikiPage | $page, | ||
$wrongIndex ) |
@inheritDoc
Implements CirrusSearch\Sanity\Remediator.
CirrusSearch\Sanity\QueueingRemediator::pageNotInIndex | ( | WikiPage | $page | ) |
@inheritDoc
Implements CirrusSearch\Sanity\Remediator.
CirrusSearch\Sanity\QueueingRemediator::redirectInIndex | ( | string | $docId, |
WikiPage | $page, | ||
string | $indexSuffix ) |
@inheritDoc
Implements CirrusSearch\Sanity\Remediator.