CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\Job\DeletePages Class Reference

Job wrapper around Updater::deletePages. More...

+ Inheritance diagram for CirrusSearch\Job\DeletePages:
+ Collaboration diagram for CirrusSearch\Job\DeletePages:

Public Member Functions

 __construct (Title $title, array $params)
 
- Public Member Functions inherited from CirrusSearch\Job\CirrusTitleJob
 __construct ( $title, $params)
 
 getSearchConfig ()
 

Static Public Member Functions

static build (Title $title, string $docId, int $eventTime)
 

Protected Member Functions

 doJob ()
 

Additional Inherited Members

- Public Attributes inherited from CirrusSearch\Job\CirrusTitleJob
const UPDATE_KIND = 'update_kind'
 
const ROOT_EVENT_TIME = 'root_event_time'
 
const PAGE_CHANGE = 'page_change'
 a change made to the page, new revision/delete/restore
 
const PAGE_REFRESH = 'page_refresh'
 a change that could possibly change the rendered output of the page
 
const VISIBILITY_CHANGE = "visibility_change"
 a change emitted when detecting a visibility change on a past revision theoretically not needed but is being triggered out of caution as generally visibility changes occur to hide harmful content.
 
const SANEITIZER = "saneitizer"
 Change issued from the saneitizer, either a fixup or a forced update.
 
const CLUSTER = 'cluster'
 param key to store the target elastic cluster
 

Detailed Description

Job wrapper around Updater::deletePages.

If indexSuffix parameter is specified then only deletes from indices with a matching suffix.

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

◆ doJob()

CirrusSearch\Job\DeletePages::doJob ( )
protected
Returns
bool

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