Es2

Implementing the ElasticSearch backend
L186? The loop is processing the whole chunk so you should just subtract once