~/talk

On The Look-Out For Your Data

Talkat DjangoCon Europe 2018 · 2018-05-23..05-25· [databases]
slides:none on file

Compares database approaches (PostgreSQL ILIKE/contains and trigram indexing) with external engines (Elasticsearch, Solr, Whoosh, Xapian) and shows working code for each, including a trigram GIST index that makes ILIKE searchable, Django class-based indexes, and search-backed apps that use transaction.on_commit to sync writes. Covers practical gotchas: .update and QuerySet.delete skip save so you must handle PKs before deletion, search results can be stale (eventual consistency), and the reliable option is a full search index storing URL and metadata so reads can come straight from the search engine.

AI-written summary · about

  1. 0:00Introduction to data search
  2. 4:33Searching in Django
  3. 6:21Text search challenges
  4. 10:59Efficient text search with trigrams
  5. 13:52Full-text search features
  6. 14:34External search engines
  7. 16:42Synchronizing data with search
  8. 18:35Maintaining full search index
  9. 20:44Why search matters
  10. 23:16Q&A session
~/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.