Comp4321 The Index May 14 2026

The anatomy of a top result.

query · hkust admission · doc № 006
body match

Forward index · top stems on this page

program 16 comput 13 student 7 univers 6 scienc 6 engin 6 studi 6 depart 5 hkust 5 train 5 graduat 5 year 4 inform 4 also 4

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

Per-query-stem · how each term contributes

  1. hkust wid 0007 · df 4 body tf 5 title tf 0 idf 6.229
  2. admiss wid 0004 · df 3 body tf 0 title tf 0 idf 6.644

Outlinks (1)