~/talk

Is it me you're searching for?

Talkat RubyDay 2015 · on Friday, 2015-11-13· [developer-experience]
name:J. Kiesel
links:none on file
slides:none on file

Compares quick ILIKE filtering, external engines like ElasticSearch/Sphinx and built-in Postgres full-text search, arguing Postgres often suffices; demonstrates converting inputs to tsquery, documents to tsvector, using the @@ operator plus ts_rank_cd and weighted vectors (A/B/C/D) for relevance, language-aware stemming and ts_headline for snippets, and storing a tsvector column updated on save to avoid recomputing. Shows a lyrics demo at rubyday.herokuapp.com and reports production-ish timings: 57 ms per search / 27 ms to index.

AI-written summary · about

  1. 0:00Introduction and diversity
  2. 4:59Why search is hard
  3. 9:53Full text search options
  4. 11:42Postgres full text search
  5. 16:21Query, vector and rank
  6. 22:16Advanced Postgres features
  7. 29:25Live demo and code
  8. 35:45Production tips and Q&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.