Comp4321 The Index May 14 2026

The anatomy of a top result.

query · archiv weather underground user imdb · doc № 124
body match

Forward index · top stems on this page

archiv 25 lee 12 user 10 imdb 10 bruce 10 rate 8 movi 7 warrior 7 journei 7 titl 6 plot 6 detail 6 dvdvhscdall 5 board 4

document length 603 body tokens  ·  max tf 25 (archiv)  ·  vocabulary 396 distinct stems  ·  title 4 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.3951
  2. cosine(query, title) × 2.0 no title overlap (×2.0 unused)0.0000
  3. weighted subtotal cosBody + 2.0 × cosTitle0.3951
  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 × pagerank0.3951

Per-query-stem · how each term contributes

  1. archiv wid 4081 · df 6 body tf 25 title tf 0 idf 5.644
  2. weather wid 0175 · df 5 body tf 0 title tf 0 idf 5.907
  3. underground wid 0176 · df 4 body tf 0 title tf 0 idf 6.229
  4. user wid 1045 · df 289 body tf 10 title tf 0 idf 0.054
  5. imdb wid 1084 · df 288 body tf 10 title tf 0 idf 0.059

Outlinks (1)