Updated code in elastic-search-client.js file to node-elasticsearch-client 0.3.0