Comp4321 The Index May 14 2026

The anatomy of a top result.

query · bridg titl search iron sam · doc № 097
title ×2.0 body match

Forward index · top stems on this page

monkei 27 titl 14 iron 14 search 13 aka 10 match 6 episod 5 movi 4 imdb 4 tv 4 usa 4 mai 4 result 3 back 2

document length 303 body tokens  ·  max tf 27 (monkei)  ·  vocabulary 186 distinct stems  ·  title 2 stems

Score breakdown

Re-derived from the same tf·idf cosine values, boost factors, and PageRank multipliers the live ranker just used. weighted = body + title × 2.0 · final = weighted × phrase × pagerank.

  1. cosine(query, body) tf·idf body · 5 resolved stems0.2617
  2. cosine(query, title) × 2.0 title boost ×2.0 applied0.8107
  3. weighted subtotal cosBody + 2.0 × cosTitle1.0724
  4. × phrase multiplier stems not within 5-token window · ×1.0×1.0
  5. × pagerank multiplier PageRank not computed for this page · ×1.0×1.0000
  6. final score weighted × phrase × pagerank1.0724

Per-query-stem · how each term contributes

  1. bridg wid 0277 · df 9 body tf 1 title tf 0 idf 5.059
  2. titl wid 1103 · df 288 body tf 14 title tf 0 idf 0.059
  3. search wid 0153 · df 147 body tf 13 title tf 0 idf 1.029
  4. iron wid 0243 · df 6 body tf 14 title tf 1 idf 5.644
  5. sam wid 0276 · df 11 body tf 0 title tf 0 idf 4.769

Outlinks (1)