the response from elasticsearch 1.0.1 changed so we will check the status from the json they return which will have a status code in it if it failed for any reason.