CourseRAG · Module 5: Vector Stores and Indexing · part 26 of 82
Part 26 · Module 5: Vector Stores and Indexing

Topic 4: Filtering

8 min read·21 Sept 2026

The problem: ANN indexes are built to find nearest vectors, not "nearest vectors that also match a condition". How the filter and the index work together decides whether you get the right results, too few results, or silently worse results.

A shared setup for this topic: every vector in the Topic 1 dataset gets a tenant label, with tenants of very different sizes, so we can test filters from "half the data" down to "a few dozen vectors".

The rest of this course is yours to keep

This course is bought on its own, once, and stays readable afterwards, including the parts added to it later.