aparo/pyes — pull request #231 by jukart (2012-11-24 17:20:13+00:00)
Title: adjust position to compare with total

This removes an additional elasticsearch request when iterating at the end of a result.