Comp4321 The Index May 14 2026

The anatomy of a top result.

query · great race search titl tv · doc № 115
phrase ×3.0 title ×2.0 body match

Forward index · top stems on this page

great 28 race 27 search 13 titl 12 tv 9 match 7 aka 6 episod 5 movi 4 imdb 4 mai 4 displai 3 usa 3 v 3

document length 293 body tokens  ·  max tf 28 (great)  ·  vocabulary 160 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.9341
  2. cosine(query, title) × 2.0 title boost ×2.0 applied1.9663
  3. weighted subtotal cosBody + 2.0 × cosTitle2.9004
  4. × phrase multiplier ≥2 stems within 5-token window×3.0
  5. × pagerank multiplier PageRank not computed for this page · ×1.0×1.0000
  6. final score weighted × phrase × pagerank8.7012

Per-query-stem · how each term contributes

  1. great wid 0283 · df 61 body tf 28 title tf 1 idf 2.298
  2. race wid 0284 · df 9 body tf 27 title tf 1 idf 5.059
  3. search wid 0153 · df 147 body tf 13 title tf 0 idf 1.029
  4. titl wid 1103 · df 288 body tf 12 title tf 0 idf 0.059
  5. tv wid 1104 · df 288 body tf 9 title tf 0 idf 0.059

Outlinks (1)