CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Remediator that forwards all actions to all writable clusters using the 'cluster' => null optimization. More...
Public Member Functions | |
__construct (ClusterAssignment $clusterAssignment, JobQueueGroup $jobQueueGroup) | |
canSendOptimizedJob (array $clusters) | |
Checker whether or not some remediations that are scheduled for the clusters defined in $clusters can be optimized by sending a single job per remediation instead duplicated remediations per cluster. | |
redirectInIndex (string $docId, WikiPage $page, string $indexSuffix) | |
@inheritDoc | |
pageNotInIndex (WikiPage $page) | |
@inheritDoc | |
ghostPageInIndex ( $docId, Title $title) | |
@inheritDoc | |
pageInWrongIndex ( $docId, WikiPage $page, $indexSuffix) | |
@inheritDoc | |
oldVersionInIndex ( $docId, WikiPage $page, $indexSuffix) | |
@inheritDoc | |
oldDocument (WikiPage $page) | |
@inheritDoc | |
Remediator that forwards all actions to all writable clusters using the 'cluster' => null optimization.
CirrusSearch\Sanity\AllClustersQueueingRemediator::__construct | ( | ClusterAssignment | $clusterAssignment, |
JobQueueGroup | $jobQueueGroup ) |
ClusterAssignment | $clusterAssignment | |
JobQueueGroup | $jobQueueGroup |
CirrusSearch\Sanity\AllClustersQueueingRemediator::canSendOptimizedJob | ( | array | $clusters | ) |
Checker whether or not some remediations that are scheduled for the clusters defined in $clusters can be optimized by sending a single job per remediation instead duplicated remediations per cluster.
array | $clusters | List of clusters affected by a remediation |
CirrusSearch\Sanity\AllClustersQueueingRemediator::ghostPageInIndex | ( | $docId, | |
Title | $title ) |
@inheritDoc
Implements CirrusSearch\Sanity\Remediator.
CirrusSearch\Sanity\AllClustersQueueingRemediator::oldDocument | ( | WikiPage | $page | ) |
@inheritDoc
Implements CirrusSearch\Sanity\Remediator.
CirrusSearch\Sanity\AllClustersQueueingRemediator::oldVersionInIndex | ( | $docId, | |
WikiPage | $page, | ||
$indexSuffix ) |
@inheritDoc
Implements CirrusSearch\Sanity\Remediator.
CirrusSearch\Sanity\AllClustersQueueingRemediator::pageInWrongIndex | ( | $docId, | |
WikiPage | $page, | ||
$indexSuffix ) |
@inheritDoc
Implements CirrusSearch\Sanity\Remediator.
CirrusSearch\Sanity\AllClustersQueueingRemediator::pageNotInIndex | ( | WikiPage | $page | ) |
@inheritDoc
Implements CirrusSearch\Sanity\Remediator.
CirrusSearch\Sanity\AllClustersQueueingRemediator::redirectInIndex | ( | string | $docId, |
WikiPage | $page, | ||
string | $indexSuffix ) |
@inheritDoc
Implements CirrusSearch\Sanity\Remediator.