Comp4321 The Index May 14 2026

The anatomy of a top result.

query · stitch titl search lilo match · doc № 039
phrase ×3.0 title ×2.0 body match

Forward index · top stems on this page

stitch 18 titl 14 search 13 lilo 10 match 7 lion 7 witch 7 wardrob 7 tv 6 episod 5 result 5 movi 4 imdb 4 displai 4

document length 286 body tokens  ·  max tf 18 (stitch)  ·  vocabulary 161 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.8003
  2. cosine(query, title) × 2.0 title boost ×2.0 applied1.9768
  3. weighted subtotal cosBody + 2.0 × cosTitle2.7771
  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.3314

Per-query-stem · how each term contributes

  1. stitch wid 0110 · df 3 body tf 18 title tf 1 idf 6.644
  2. titl wid 1103 · df 288 body tf 14 title tf 0 idf 0.059
  3. search wid 0153 · df 147 body tf 13 title tf 0 idf 1.029
  4. lilo wid 0109 · df 2 body tf 10 title tf 1 idf 7.229
  5. match wid 1115 · df 140 body tf 7 title tf 0 idf 1.100

Outlinks (1)