LESSON 22.06 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
BM25
Watch BM25 score 12 help pages for a query, one word at a time.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 22.06 · SEARCH BAY3 WORDS · 6 OF 12 DOCUMENTS MATCH
01
Stage 1 of 6 · Find the words
An inverted index lists the documents that hold each query word. A cell shows tf, the count there.
Explain it simply
Keyword search starts from a list for every word, like the index at the back of a book. Each list names the documents that hold the word. 6 of the 12 documents hold a word of “battery drains fast”. The small number in a cell counts the word in that document.
The query “battery drains fast” has 3 words. “battery” is in 5 documents. “drains” is in 1 document. “fast” is in 2 documents.
query words, tf, weightsidf, k1, bscore, top 3, relevantwrong in top 3, missedno match
Toy: 12 help-centre documents and 3 queries, shared with 22.C1
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
tf counts how often the word occurs in the document.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 3 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.