Skip to content

Scroll like pagination #2872

Closed Answered by timvisee
FrancescoSaverioZuppichini asked this question in Q&A
Discussion options

You must be logged in to vote

No, this is not possible. Instead you should provide the next point ID to search from so Qdrant can continue traversing the list of IDs.

This is a limitation of Qdrant internals. Qdrant goes through all point IDs from beginning to end. Depending on what your data looks like there may be gaps. There is no index of some sort from 0..n where every index points to a specific point.

For your convenience the API returns next_page_offset which you can use as offset for the next request. Please see https://qdrant.tech/documentation/concepts/points/#scroll-points

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@FrancescoSaverioZuppichini
Comment options

Answer selected by FrancescoSaverioZuppichini
Comment options

You must be logged in to vote
2 replies
@msj121
Comment options

@timvisee
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants