You are here

public function SearchApiElasticsearchConnector::getConnectorObject in Elasticsearch Connector 7

Same name and namespace in other branches
  1. 7.5 modules/elasticsearch_connector_search_api/service.inc \SearchApiElasticsearchConnector::getConnectorObject()
  2. 7.2 modules/elasticsearch_connector_search_api/service.inc \SearchApiElasticsearchConnector::getConnectorObject()

Get the Elasticsearch connector object.

Return value

object <\Elasticsearch\Client, boolean, >

File

modules/elasticsearch_connector_search_api/service.inc, line 70
Provides a Elasticsearch-based service class for the Search API using Elasticsearch Connector module.

Class

SearchApiElasticsearchConnector
Search service class.

Code

public function getConnectorObject() {
  return $this->elasticsearchClient;
}