There seems to be a new rest client in the Elasticsearch 5.0 library: https://github.com/elastic/elasticsearch/pull/18735 Maybe it's possible to replace jest by this client?