Is there a predictable order when scanning/scrolling an elastic search index? Is there a predictable order when scanning/scrolling an elastic search index? elasticsearch elasticsearch

Is there a predictable order when scanning/scrolling an elastic search index?


No, the sort order is not predictable. I was going to suggest using timestamps, but then I read the rest of your question :)

Really, the only way to make a scanned search "resumable" is to divide your docs into tranches on some field, eg timestamp or ID, and to use a range query to scroll through just one tranche at a time.