Stages of a vector index build
- Train. A sample of the table’s vectors — not the full dataset — trains the shared model every worker will use: IVF partition centroids, and for IVF-PQ, a PQ codebook on top of them.
- Shuffle. Every row in the table gets assigned to its nearest trained partition and regrouped so that all of one partition’s rows end up together, wherever in the table they originally lived.
- Merge. Each partition is now self-contained, so workers build and merge partitions in parallel with no cross-partition coordination — one worker’s output never depends on another’s.
- Commit. The finished index is committed to the table.
Indexing interfaces
The shared indexing guides describe how to build and maintain each index type:- Vector indexes and vector search.
- Full-text indexes and full-text search.
- Scalar indexes and filtering.
- Incremental Indexing for triggering and tracking a build.