A hierarchical ScaNN tree partitions vectors from coarse clusters into finer ones. A query follows promising branches so fewer vectors need direct comparison.
AlloyDB’s four-level tree is a preview as of 2026. More levels do not automatically improve recall; configuration and measured recall still matter.
When to use
Use it to understand staged candidate pruning in large vector indexes.