I'm looking for a good way to paginate user search requests. I see the scrolling feature but it is explained from the docs:
Scrolling is not intended for real time user requests, but rather for processing large amounts of data
So, what will be recommended ways to paginate real-time user requests? These answers seem a bit outdated.
I know there are ways to filter using timestamps and then use the from
/size
method, but wouldn't that not take into account deleted documents?
Thanks!