Which is better between Scroll and Search_After when extract lots of document to other database?

Hi community!

I note that since 7.0, scroll is deprecated in deep pagination from the document

But the document also said : the scroll API can be used to retrieve large numbers of results (or even all results) from a single search request.

I have some confusions about this:

  1. What's the difference between retrieve large numbers of results and deep pagination?
  2. When hits is more than 10000, why search_after can be more efficient when preserve state?
  3. Can we use Search_After API for retrieve large numbers of results?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.