~/talk

Full Text search in Django

Talkat Django Day Copenhagen 2020 · on Friday, 2020-09-25· [django, search]
links:none on file
slides:none on file

Compares four concrete Django search methods with when each actually works: basic SQL lookups contains/icontains/unaccent for quick admin filters; hosted or self-managed search engines like Elasticsearch or other external indexes for millions of documents, faceting and spellcheck at high setup cost; Postgres full‑text via tsvector for semantic ranking and field weighting (language‑dependent); and Postgres trigram (pg_trgm trigram similarity (~0.27 example)) for typo‑tolerant name matching — add GIN indexes to make Postgres approaches performant.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:09Why full text search matters
  3. 2:57Standard textual queries
  4. 7:33External search services
  5. 12:24Postgres full text search
  6. 18:06Postgres trigram search
  7. 23:51Choosing the right approach
  8. 24:34Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.