~/talk

A Pythonic Full-Text Search

Talkat DjangoCon Europe 2020 · 2020-09-18..09-19· [search, python]
slides:none on file

Demonstrates a full text search built with Django + PostgreSQL only, replacing an external engine by using Postgres tsvector, tsquery, search configurations and trigram/accent extensions. Shows concrete queries: search vectors across related fields, weighted fields for headline vs body, search rank ordering, highlighted snippets, and a materialized search vector field that is manually updated for speed. Notes merged Django PR and real-world use on the Django docs site.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:08What is Pythonic full-text search
  3. 2:36Why avoid external search engines
  4. 5:10PostgreSQL full-text search basics
  5. 7:17Basic to advanced Django queries
  6. 12:36Optimizing search performance
  7. 13:38Django website search improvements
  8. 15:47Future full-text search features
  9. 16:11Useful tips and resources
  10. 17:57Q&A and closing
~/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.