altered the elastic search rake task

delete() doesn't need a `type` parameter