Elasticsearch v1.0 upgrade