Comp4321 The Index May 14 2026

The anatomy of a top result.

query · stori search fishi titl fish · doc № 110
title ×2.0 body match

Forward index · top stems on this page

stori 27 search 13 fishi 12 titl 11 fish 8 tv 6 match 6 episod 5 fisher 5 movi 4 imdb 4 mai 4 ami 3 aka 3

document length 251 body tokens  ·  max tf 27 (stori)  ·  vocabulary 142 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.8479
  2. cosine(query, title) × 2.0 title boost ×2.0 applied1.4852
  3. weighted subtotal cosBody + 2.0 × cosTitle2.3330
  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.3330

Per-query-stem · how each term contributes

  1. stori wid 0275 · df 85 body tf 27 title tf 1 idf 1.819
  2. search wid 0153 · df 147 body tf 13 title tf 0 idf 1.029
  3. fishi wid 0274 · df 2 body tf 12 title tf 1 idf 7.229
  4. titl wid 1103 · df 288 body tf 11 title tf 0 idf 0.059
  5. fish wid 6856 · df 3 body tf 8 title tf 0 idf 6.644

Outlinks (1)