public function get($url, $options = [], $body = null, $raw = false)
{
$this->open();
return $this->httpRequest('GET', $this->createUrl($url, $options), $body, $raw);
}
/** * @param $name * @return mixed * @see http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-templates.html */ public function getTemplate($name) { return $this->db->get(['_template', $name]); }