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

CirrusSearch Job that is bound to a Title. More...

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

Public Member Functions

 __construct ( $title, $params)
 
 getSearchConfig ()
 

Public Attributes

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

CirrusSearch Job that is bound to a Title.

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\Job\CirrusTitleJob::__construct ( $title,
$params )
Parameters
Title$title
array$params

Member Function Documentation

◆ getSearchConfig()

CirrusSearch\Job\CirrusTitleJob::getSearchConfig ( )
Returns
SearchConfig

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