Updated to Elasticsearch 1.0