Comp4321 The Index May 14 2026

The anatomy of a top result.

query · great race search titl tv · doc № 146
title ×2.0 body match

Forward index · top stems on this page

search 13 great 9 titl 9 gto 9 teacher 9 onizuka 9 set 7 episod 5 match 5 movi 4 imdb 4 mai 4 tv 3 result 3

document length 203 body tokens  ·  max tf 13 (search)  ·  vocabulary 116 distinct stems  ·  title 5 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.0988
  2. cosine(query, title) × 2.0 title boost ×2.0 applied0.1528
  3. weighted subtotal cosBody + 2.0 × cosTitle0.2516
  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.2516

Per-query-stem · how each term contributes

  1. great wid 0283 · df 61 body tf 9 title tf 1 idf 2.298
  2. race wid 0284 · df 9 body tf 0 title tf 0 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 9 title tf 0 idf 0.059
  5. tv wid 1104 · df 288 body tf 3 title tf 0 idf 0.059

Outlinks (1)