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

Remediator that only logs events. More...

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

Public Member Functions

 __construct (LoggerInterface $logger, string $level=LogLevel::INFO)
 
 redirectInIndex (WikiPage $page)
 @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
 

Detailed Description

Remediator that only logs events.

Intended to visualize deviations without remediating them, in case CirrusSearch is not in charge of writing.

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

Member Function Documentation

◆ ghostPageInIndex()

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

@inheritDoc

Implements CirrusSearch\Sanity\Remediator.

◆ oldDocument()

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

@inheritDoc

Implements CirrusSearch\Sanity\Remediator.

◆ oldVersionInIndex()

CirrusSearch\Sanity\LogOnlyRemediator::oldVersionInIndex ( $docId,
WikiPage $page,
$indexSuffix )

@inheritDoc

Implements CirrusSearch\Sanity\Remediator.

◆ pageInWrongIndex()

CirrusSearch\Sanity\LogOnlyRemediator::pageInWrongIndex ( $docId,
WikiPage $page,
$indexSuffix )

@inheritDoc

Implements CirrusSearch\Sanity\Remediator.

◆ pageNotInIndex()

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

@inheritDoc

Implements CirrusSearch\Sanity\Remediator.

◆ redirectInIndex()

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

@inheritDoc

Implements CirrusSearch\Sanity\Remediator.


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