public function DESConnector::getClusterHealth in Elasticsearch Connector 8
Get cluster health.
Return value
array
1 call to DESConnector::getClusterHealth()
- DESConnector::getClusterInfo in src/
DESConnector/ DESConnector.php - Return cluster info.
File
- src/
DESConnector/ DESConnector.php, line 160 - Provides Elasticsearch Client for Drupal's Elasticsearch Connector module.
Class
- DESConnector
- Drupal Elasticsearch Interface.
Namespace
Drupal\elasticsearch_connector\DESConnectorCode
public function getClusterHealth() {
return $this
->getCluster()
->health();
}