Update to elasticsearch 1.4.0