Added API method to get ElasticSearch Client