public function getScheme() { return (bool) $this->getElasticsearchClientConfigParam('enable_https_mode') ? 'https' : 'http'; }