~/talk

Tune-Up Your Knowledge: A Beginner's Journey Under the Hood of Search Engines

Talkat PyOhio 2025 · 2025-07-26..07-27· [python]
links:none on file
slides:none on file

Builds a search engine in Python over ~6,200 Amazon book records, showing how naive tokenization returns 16 matches for "Python" then improves to 410 after case folding and 537 after punctuation stripping, then 314 when queries aren’t normalized; constructs an inverted index with ~87,000 unique terms to avoid full scans; implements TF‑IDF and BM25 to rank results and demo differences; adds 384‑dim vector embeddings and cosine similarity for semantic matches, noting vectors always return nearest neighbors and model choice drives quality.

AI-written summary · about

  1. 0:00Search engine internals
  2. 1:03Personal journey into search
  3. 3:08Lexical search pillars
  4. 5:55Tokenization matters
  5. 8:48Matching query tokens
  6. 10:36Inverted indexes speed search
  7. 13:28AND/OR logic in search
  8. 15:15TF-IDF scoring
  9. 17:01Ranking with TF-IDF
  10. 18:03BM25 relevance upgrades
  11. 20:38Lexical search limits
  12. 21:41Semantic search with vectors
  13. 24:10Vector search and cosine
  14. 25:55Lexical vs semantic search
  15. 26:57Key takeaways and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.