Elasticsearch 1.x support

Currently only tested in elasticsearch 1.4 !