public function listTables() { try { $index = $this->connection->getIndex(); $mappings = $index->getMapping(); } catch (ResponseException $e) { return []; } return array_keys($mappings); }