You are here

public function SearchApiElasticsearchElastica::setTransport in Search API Elasticsearch 7

File

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

Class

SearchApiElasticsearchElastica
Search API Elasticsearch Elastica service class.

Code

public function setTransport($transport) {
  $this->elasticaClient
    ->setConfigValue('transport', $transport);
}