Deep pagination and multiple shards

Hello guys,

reading this
I do not understand the following:
Deep pagination with from and size
— e.g. ?size=10&from=10000 — is very inefficient as (in this example)
100,000 sorted results have to be retrieved from each shard and resorted in
order to return just 10 results. This process has to be repeated for every
page requested.

why is it 100,000 and not 10010?


You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit