You are here

public function DESConnector::ping in Elasticsearch Connector 8

Elasticsearch ping function.

Return value

array

File

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

Class

DESConnector
Drupal Elasticsearch Interface.

Namespace

Drupal\elasticsearch_connector\DESConnector

Code

public function ping() {
  return $this
    ->getClient()
    ->ping();
}