Distributed

Lesson 06.7

Inverted indexes & filtered search

An inverted index maps each term to the documents containing it, allowing search to intersect posting lists and structured filters before ranking a small candidate set.

Two terms across thousands of recipes

Ava searches for “chocolate chewy.” The computer should start with recipes that contain those words, not reread every recipe.

In this lesson you'll

  1. 1Intersect word lists and apply eligibility filters before spending ranking work.
  2. 2Predict what changes before revealing the result
  3. 3Help Ava with the new request while keeping every rule