CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Public Member Functions | |
__construct (Client $client, $aliasName, $specificIndexName, $startOver, Printer $out) | |
validate () | |
Public Member Functions inherited from CirrusSearch\Maintenance\Validators\Validator | |
__construct (Printer $out) | |
printDebugCheckConfig ( $print=true) | |
Protected Member Functions | |
shouldRemoveFromAlias ( $name) | |
updateIndices (array $add, array $remove) | |
Protected Member Functions inherited from CirrusSearch\Maintenance\Validators\Validator | |
checkConfig ( $actual, array $required, $indent=null) | |
output ( $message, $channel=null) | |
outputIndented ( $message) | |
Protected Attributes | |
$client | |
$aliasName | |
$specificIndexName | |
$create = [] | |
$remove = [] | |
Protected Attributes inherited from CirrusSearch\Maintenance\Validators\Validator | |
$out | |
$printDebugCheckConfig = false | |
CirrusSearch\Maintenance\Validators\IndexAliasValidator::__construct | ( | Client | $client, |
$aliasName, | |||
$specificIndexName, | |||
$startOver, | |||
Printer | $out ) |
Client | $client | |
string | $aliasName | |
string | $specificIndexName | |
bool | $startOver | |
Printer | $out |
|
abstractprotected |
string | $name |
Reimplemented in CirrusSearch\Maintenance\Validators\IndexAllAliasValidator, and CirrusSearch\Maintenance\Validators\SpecificAliasValidator.
|
protected |
string[] | $add | Array of indices to add |
string[] | $remove | Array of indices to remove |
Reimplemented in CirrusSearch\Maintenance\Validators\IndexAllAliasValidator, and CirrusSearch\Maintenance\Validators\SpecificAliasValidator.
CirrusSearch\Maintenance\Validators\IndexAliasValidator::validate | ( | ) |
Reimplemented from CirrusSearch\Maintenance\Validators\Validator.