You are here

public function DESConnector::getClusterStats in Elasticsearch Connector 8

Get cluster stats.

Return value

array

1 call to DESConnector::getClusterStats()
DESConnector::getClusterInfo in src/DESConnector/DESConnector.php
Return cluster info.

File

src/DESConnector/DESConnector.php, line 178
Provides Elasticsearch Client for Drupal's Elasticsearch Connector module.

Class

DESConnector
Drupal Elasticsearch Interface.

Namespace

Drupal\elasticsearch_connector\DESConnector

Code

public function getClusterStats() {
  return $this
    ->getCluster()
    ->stats();
}