CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\MetaStore\MetaVersionStore Class Reference
+ Inheritance diagram for CirrusSearch\MetaStore\MetaVersionStore:
+ Collaboration diagram for CirrusSearch\MetaStore\MetaVersionStore:

Public Member Functions

 __construct (Index $index, Connection $connection)
 
 buildIndexProperties ()
 
 update ( $baseName, $typeName)
 
 updateAll ( $baseName)
 
 find ( $baseName, $typeName)
 
 findAll ( $baseName=null)
 

Static Public Member Functions

static docId (Connection $connection, $baseName, $typeName)
 
static buildDocument (Connection $connection, $baseName, $typeName)
 Create version data for index type.
 

Public Attributes

const METASTORE_TYPE = 'version'
 

Member Function Documentation

◆ buildDocument()

static CirrusSearch\MetaStore\MetaVersionStore::buildDocument ( Connection $connection,
$baseName,
$typeName )
static

Create version data for index type.

Parameters
Connection$connection
string$baseName
string$typeName
Returns
\Elastica\Document

◆ buildIndexProperties()

CirrusSearch\MetaStore\MetaVersionStore::buildIndexProperties ( )
Returns
array Properties to add to metastore for version info

Implements CirrusSearch\MetaStore\MetaStore.

◆ docId()

static CirrusSearch\MetaStore\MetaVersionStore::docId ( Connection $connection,
$baseName,
$typeName )
static
Parameters
Connection$connection
string$baseName
string$typeName
Returns
string

◆ find()

CirrusSearch\MetaStore\MetaVersionStore::find ( $baseName,
$typeName )
Parameters
string$baseName
string$typeName
Returns
\Elastica\Document

◆ findAll()

CirrusSearch\MetaStore\MetaVersionStore::findAll ( $baseName = null)
Parameters
string | null$baseNameBase index name to find, or all to return all indices for all wikis.
Returns
\Elastica\ResultSet

◆ update()

CirrusSearch\MetaStore\MetaVersionStore::update ( $baseName,
$typeName )
Parameters
string$baseName
string$typeName

◆ updateAll()

CirrusSearch\MetaStore\MetaVersionStore::updateAll ( $baseName)
Parameters
string$baseName

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