~/talk

Fuzzy Search in the Browser Over Half a Million Lines: Building an Index on a CDN

TalkinRussianat HolyJS 2023 Spring · 2023-05-15..05-22· [web-platform, frontend-architecture]
links:none on file
slides:none on file

Describes building a client-side fuzzy search over ~500,000 lines by constructing a searchable index hosted on a CDN, using NLP algorithms for typo-tolerant matching. Explains how HTTP/2 enabled serving the index from CDN, and shows code examples and demos of the indexing and browser-side search implementation.

AI-written summary · about

  1. 0:00Introduction
  2. 1:282015 banking search
  3. 8:32Server-side search
  4. 11:26Static site interactivity
  5. 13:40SQLite in browser
  6. 19:42Gatsby plugin
  7. 20:27Movie search demo
  8. 23:21Search algorithm
  9. 26:16Stemming and lemmatization
  10. 29:55Pre-indexing
  11. 33:06Fuzzy search and Levenshtein
  12. 35:12N-grams
  13. 36:36Indexing at build
  14. 38:41Data updates and pagination
  15. 40:26Q&A
~/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.