Comp4321 The Index May 14 2026

The anatomy of a top result.

query · li search titl tv ein · doc № 096
phrase ×3.0 title ×2.0 body match

Forward index · top stems on this page

li 19 search 13 titl 12 tv 12 ein 7 elfen 7 episod 5 match 5 aka 5 movi 4 imdb 4 de 4 een 4 mai 4

document length 316 body tokens  ·  max tf 19 (li)  ·  vocabulary 202 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.6412
  2. cosine(query, title) × 2.0 title boost ×2.0 applied0.7856
  3. weighted subtotal cosBody + 2.0 × cosTitle1.4268
  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 × pagerank4.2803

Per-query-stem · how each term contributes

  1. li wid 0242 · df 10 body tf 19 title tf 1 idf 4.907
  2. search wid 0153 · df 147 body tf 13 title tf 0 idf 1.029
  3. titl wid 1103 · df 288 body tf 12 title tf 0 idf 0.059
  4. tv wid 1104 · df 288 body tf 12 title tf 0 idf 0.059
  5. ein wid 5796 · df 10 body tf 7 title tf 0 idf 4.907

Outlinks (1)