Es2

Implementing the ElasticSearch backend
Don't think you can do both return and yield in a function.