Upgrade to ElasticSearch 1.0