Faster Pagination
I would like be able to paginate through search results faster.
![](https://secure.gravatar.com/avatar/2b7722ceef7b26875cb4bf0b10b1370e?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
Performant sequential pagination in Atlas Search is now available on MongoDB clusters 6.0.13+ and 7.0.5+ to power Infinite Scroll, Load More, and Next/Previous Page application experiences. To specify where in your Atlas Search results to start returning results from, 1) generate Base64-encoded tokens for each document within your results using the new $meta keyword searchSequenceToken, and 2) use that token as a point of reference with the new searchBefore and searchAfter options within the $search stage.
For use cases not addressed by Sequential Pagination, please vote here.
-
Gabriele Milan commented
News on that?
-
Anas commented
Any update?
-
Ricardo commented
Any news about it?
-
Ion Zghibarta commented
Hey guys any updates on this?
It seems that this thread is related
https://www.mongodb.com/community/forums/t/query-optimization-while-using-skip-and-limit-in-atlas-search/198410/7 -
KaMi commented
Please any news about it?
-
Aslak commented
Any news here?
-
Kyle commented
Anybody find a good solution for this?
-
Joseph commented
What is currently the most optimal way to do pagination without the search? $limit and $skip aggregation?
-
Jingjing commented
This is a must have for something we are developing. Please prioritize.
-
Attila commented
Jump to the end of the result or sorting functionality would be nice too.