Comp4321 The Index May 14 2026

The anatomy of a top result.

query · program comput student univers scienc · doc № 200
body match

Forward index · top stems on this page

movi 14 airplan 12 user 10 imdb 10 first 10 rate 10 sequel 9 ii 7 plot 6 titl 5 quot 5 dvdvhscdall 5 detail 5 comment 5

document length 659 body tokens  ·  max tf 14 (movi)  ·  vocabulary 446 distinct stems  ·  title 3 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 · 4 resolved stems0.0358
  2. cosine(query, title) × 2.0 no title overlap (×2.0 unused)0.0000
  3. weighted subtotal cosBody + 2.0 × cosTitle0.0358
  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.0358

dropped (not in vocabulary): univ

Per-query-stem · how each term contributes

  1. program wid 0674 · df 5 body tf 0 title tf 0 idf 5.907
  2. comput wid 0683 · df 7 body tf 1 title tf 0 idf 5.421
  3. student wid 0687 · df 10 body tf 0 title tf 0 idf 4.907
  4. univ not in vocabulary
  5. scienc wid 0684 · df 9 body tf 1 title tf 0 idf 5.059

Outlinks (1)