You are here

public function Client::request in Search API Elasticsearch 8

Parameters

string $path:

string $method:

array $data:

array $query:

Return value

\Elastica\Response

File

src/Elastica/Client.php, line 22

Class

Client
Class Client @package Drupal\search_api_elasticsearch\Elastica

Namespace

Drupal\search_api_elasticsearch\Elastica

Code

public function request($path, $method = Request::GET, $data = array(), array $query = array()) {
  $response = parent::request($path, $method, $data, $query);
  $this
    ->logQuery($path, $method, $data, $query);
  return $response;
}