CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Public Member Functions | |
__construct (SearchConfig $config) | |
uniqueId ( $cluster) | |
getWritableClusters (string $updateGroup) | |
getAllKnownClusters () | |
canWriteToCluster ( $cluster, $updateGroup) | |
Check if a cluster is configured to accept writes. | |
hasCluster (string $cluster) | |
Check if a cluster is defined. | |
getSearchCluster () | |
getCrossClusterName () | |
getServerList ( $replica=null) | |
CirrusSearch\Assignment\MultiClusterAssignment::canWriteToCluster | ( | $cluster, | |
$updateGroup ) |
Check if a cluster is configured to accept writes.
string | $cluster | |
string | $updateGroup | UpdateGroup::* constant |
Implements CirrusSearch\Assignment\ClusterAssignment.
CirrusSearch\Assignment\MultiClusterAssignment::getAllKnownClusters | ( | ) |
Implements CirrusSearch\Assignment\ClusterAssignment.
CirrusSearch\Assignment\MultiClusterAssignment::getCrossClusterName | ( | ) |
Implements CirrusSearch\Assignment\ClusterAssignment.
CirrusSearch\Assignment\MultiClusterAssignment::getSearchCluster | ( | ) |
Implements CirrusSearch\Assignment\ClusterAssignment.
CirrusSearch\Assignment\MultiClusterAssignment::getServerList | ( | $replica = null | ) |
string | null | $replica |
Implements CirrusSearch\Assignment\ClusterAssignment.
CirrusSearch\Assignment\MultiClusterAssignment::getWritableClusters | ( | string | $updateGroup | ) |
string | $updateGroup | UpdateGroup::* constant |
Implements CirrusSearch\Assignment\ClusterAssignment.
CirrusSearch\Assignment\MultiClusterAssignment::hasCluster | ( | string | $cluster | ) |
Check if a cluster is defined.
string | $cluster |
Implements CirrusSearch\Assignment\ClusterAssignment.
CirrusSearch\Assignment\MultiClusterAssignment::uniqueId | ( | $cluster | ) |
string | $cluster | Name of requested cluster |
Implements CirrusSearch\Assignment\ClusterAssignment.