PrepCity

Approximate nearest neighbour search

Open the lab

By the last page, this is the design you will have built.

Lesson · 8 pages · about 5 min

Approximate nearest neighbour search

Follow one question down an HNSW index, level by level, and see the setting that trades accuracy for speed. Then measure what it missed.

Words you’ll learn

  • API
  • Approximate search
  • HNSW
  • Recall
  • Latency
  • IVF index

Page by page