How does it work?
Comparing a query against every stored vector is exact but slow once there are millions of them, so these systems use approximate nearest-neighbour indexes — HNSW and IVF are the common families — that trade a sliver of recall for enormous speed. Alongside the vectors they store metadata, so you can restrict a search to one customer, one language or one date range before similarity is considered at all. The storage arithmetic is worth doing before you choose anything: a million items at 1,536 dimensions, stored as 4-byte numbers, is about 6 GB of vectors alone, before any index or metadata.
