You are here

protected function SearchApiElasticsearchElastica::getClusterState in Search API Elasticsearch 7

Get Cluster state.

Overrides SearchApiElasticsearchAbstractService::getClusterState

File

modules/elastica/includes/SearchApiElasticsearchElastica.inc, line 1000
Provides Elastica client for Search API Elasticsearch.

Class

SearchApiElasticsearchElastica
Search API Elasticsearch Elastica service class.

Code

protected function getClusterState() {
  return $this->elasticaClient
    ->getCluster()
    ->getState();
}