~/talk

Beyond faceted search

Talkat DjangoCon Europe 2023 · on Tuesday, 2023-05-30· at 09:15· Music Hall· [databases]
slides:none on file

Builds a search engine that turns a JSON-based DSL into Django ORM queries, using model mixins to declare searchable models and a recursive algorithm that emits Q objects and F references to combine conditions. Proof of concept runs over medium datasets (cites ~12 million companies and ~30 million directors at scale) by translating branches into a subquery-per-branch pattern, works functionally but hits performance limits so results are cached, queries run on a read replica behind pgbouncer and a 90s statement timeout.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:50About Bohurst and Brewhurst
  3. 3:34Search challenges in complex data
  4. 6:43Query representation approach
  5. 11:14Frontend query builder overview
  6. 14:05Searchable models and mixins
  7. 15:49Branch and leaf logic
  8. 21:05Generating query sets
  9. 23:32Query execution and limitations
  10. 26:15Performance and scalability
  11. 28:00Q&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.