Does the PIT API allow scrolling backward?

The deprecated Scroll API didn't allow scrolling backward. Now that it is being replaced, is there a way to do that with PIT?

Scroll API is not deprecated. You can use PIT with search_after to retrieve a previous page.

1 Like

Maybe I'm using the wrong term, but the docs say we should not longer use the Scroll API. Or does it just mean we should only not use it for deep pagination, but there are no plans to deprecate it?

Yes, we discourage using scroll for deep pagination.

Can you show an example of retrieving a previous page of results with PIT and search_after? The docs are pretty clear on how to get the next page but I'm not clear how it works to get the previous page.

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