upgraded to elasticsearch 1.0.0