Added support for Elasticsearch 1.4