Updated to elasticsearch 1.0.0