Lattice
Skip to content

Vector index

An approximate structure, usually HNSW or an IVF variant, that finds nearest neighbours without scanning every vector.

By Entry last reviewedmethod

What it implies

Approximate means a recall/latency trade controlled by a build parameter, which is why you should benchmark recall against a brute-force scan on your own data rather than trusting a published figure. If your corpus is under a few million vectors, brute force is often fast enough and exactly correct.

Related terms

Rules of thumb

  • A definition is only useful next to the decision it changes. Read the linked layer to see where this term bites.
  • If a vendor's definition differs from this one, ask what it measures. Marketing definitions rarely name a number.
  • Every optimisation spends latency, memory or quality somewhere. Find out which before you turn it on.

Ask an AI about this page

Opens the assistant with this page’s link and a question already filled in.