Comp4321 The Index May 14 2026

The anatomy of a top result.

query · screamer titl search aka scream · doc № 027
title ×2.0 body match

Forward index · top stems on this page

screamer 17 titl 15 search 13 aka 8 scream 8 match 7 movi 5 episod 5 usa 5 vg 5 imdb 4 last 4 dreamer 4 mai 4

document length 281 body tokens  ·  max tf 17 (screamer)  ·  vocabulary 165 distinct stems  ·  title 1 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.8574
  2. cosine(query, title) × 2.0 title boost ×2.0 applied1.5289
  3. weighted subtotal cosBody + 2.0 × cosTitle2.3863
  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 × pagerank2.3863

Per-query-stem · how each term contributes

  1. screamer wid 0076 · df 2 body tf 17 title tf 1 idf 7.229
  2. titl wid 1103 · df 288 body tf 15 title tf 0 idf 0.059
  3. search wid 0153 · df 147 body tf 13 title tf 0 idf 1.029
  4. aka wid 0331 · df 140 body tf 8 title tf 0 idf 1.100
  5. scream wid 2210 · df 5 body tf 8 title tf 0 idf 5.907

Outlinks (1)