looping through an es index

Solutions on MaxInterview for looping through an es index by the best coders in the world