Elasticsearch recommends using search_after
instead of the scroll API for pagination. Using it requires lots of knowledge about Elasticsearch though, and it's quite cumbersome currently.
We should provide a simple wrapper for this new pagination API.