~/talk

Avoiding The Search Hall Of Shame

Talkat PyCon Canada 2012 · 2012-11-09..11-11· [search]
links:none on file
slides:none on file

Lots of obviously bad patterns get called out: grep/SQL LIKE table scans reads gigs into RAM and slogs every query, while an inverted index (hash lookup of terms → documents) makes lookups fast. Pure‑Python indexes like Whoosh pure‑Python slow are simple but IO‑bound; Xapian (zapen) is faster; Solr (PySolr) works well but struggles with many masters; Elasticsearch (p.elasticsearch) is best for clusters and ops but is JVM‑RAM hungry. Concrete wins: denormalize documents, use facets, n‑gram autocomplete, and “more like this” which boosts pageviews ~175%.

AI-written summary · about

  1. 0:00Intro
  2. 0:20Who am I
  3. 1:50Things to consider
  4. 3:25Assumptions
  5. 4:13The Worst
  6. 8:30Inverted Index
  7. 9:49Pure Python
  8. 11:53Micro Search
  9. 13:41Whoosh
  10. 21:55Data Relations
  11. 25:40Updating Data
  12. 26:35Query Performance
  13. 27:17User Interface
  14. 27:57Story Time
  15. 31:39Faceting
  16. 35:05Autocomplete
  17. 37:02haystack
  18. 37:44where are we
  19. 38:15related content
  20. 39:32geospatial search
  21. 42:21Questions
~/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.