Deep pagination best practices?

I just stumbled on the "Result window is too large, from + size must be less than or equal to: [10000] but was [10100]" issue and went through the docs.

Some people are saying that not even scan and scroll is a proper solution. So my question is: how should we handle deep pagination?

We're using filter, dis_max, common.

1 Like

According to

the recommended way indeed is to use scan and scroll.

May I ask what's the use case behind your question? Surely it's not your users clicking through all those result lists manually, or is it?

Isabel

Isabel,

Thanks for taking the time to answer.

It's for pagination for an API.

-R.