Comp4321 The Index May 14 2026

The anatomy of a top result.

query · littl stuart movi user imdb · doc № 011
body match

Forward index · top stems on this page

term 6 relev 6 system 5 mathemat 4 book 3 mean 3 doctrin 2 agreement 2 provid 2 back 2 recal 2 user 2 equat 2 inform 2

document length 125 body tokens  ·  max tf 6 (term)  ·  vocabulary 93 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.0131
  2. cosine(query, title) × 2.0 no title overlap (×2.0 unused)0.0000
  3. weighted subtotal cosBody + 2.0 × cosTitle0.0131
  4. × phrase multiplier stems not within 5-token window · ×1.0×1.0
  5. × pagerank multiplier 1 + 0.5 × normalized PR (0.000)×1.0001
  6. final score weighted × phrase × pagerank0.0131

Per-query-stem · how each term contributes

  1. littl wid 0386 · df 45 body tf 1 title tf 0 idf 2.737
  2. stuart wid 0582 · df 5 body tf 0 title tf 0 idf 5.907
  3. movi wid 0012 · df 290 body tf 0 title tf 0 idf 0.049
  4. user wid 1045 · df 289 body tf 2 title tf 0 idf 0.054
  5. imdb wid 1084 · df 288 body tf 0 title tf 0 idf 0.059

Outlinks (1)