Lesson 1.2

Vector databases and indexes

Exact nearest-neighbour search does not scale, so vector indexes trade a little recall for a lot of speed. Knowing the trade-off keeps you out of trouble.

4mAdvanced8,658 students
Video thumbnail for Vector databases and indexes

Sign in to watch this lesson

Browsing is free. Create an account to play videos and track your progress.

Overview

Exact nearest-neighbour search does not scale, so vector indexes trade a little recall for a lot of speed. Knowing the trade-off keeps you out of trouble.

What this lesson covers

  • Understand approximate nearest neighbour search
  • Trade recall against latency deliberately
  • Store metadata alongside vectors for filtering

This lesson sits in Embeddings and Vector Search, part of Retrieval-Augmented Generation from Scratch. It assumes what came before it and leads directly into the next lesson in the module.

In this lesson you will:

  • Understand approximate nearest neighbour search
  • Trade recall against latency deliberately
  • Store metadata alongside vectors for filtering
Vector databases and indexes — Skiply