Scrolling through a dataset
Scroll is designed for iterating through points, optionally constrained by a payload filter, rather than ranking the dataset by vector similarity. It is useful for exports, migrations, reindexing, cleanup jobs, and administrative scans.
Vector search answers a different question: which points are most similar to this query vector? If the goal is to visit every point matching a condition, repeatedly running similarity searches is both semantically wrong and computationally wasteful.
Scroll uses continuation state so the caller can request the next portion of the dataset. This makes it suitable for processing large collections without loading the entire result set into application memory.
A common mistake is using offset-like search pagination to walk a whole collection. Search is optimized for ranked retrieval, while scroll is designed for systematic traversal. Exact pagination and ordering details are version-dependent.
Scroll is for systematic traversal rather than similarity ranking
Scroll is useful for migrations, exports, and bulk processing
Filters can restrict which points are traversed
Continuation state avoids repeatedly scanning from the beginning
0-2 years experience
2-5 years experience
5-8 years experience
8+ years experience