~/talk

Woosh: a fast pure-Python search engine library

Talkat PyData Madrid 2016 · 2016-03-12..03-13· [python]
links:none on file
slides:none on file

Whoosh is a pure Python search library used to index ~12,000 product records; initial indexing runs at 10–25s for 2,000 documents producing an index ≈10 MB. The stack uses Flask then moves to Tornado after a Black Friday crash, scoring defaults to BM25F but accepts TF‑IDF and custom parsers, supports field boosting, incremental updates, filtering and paging, and stores events in MongoDB for related‑search signals. Text work requires heavy cleaning: a 5,000‑word adjective blacklist, Spanish stemming limits, and pragmatic schema choices.

AI-written summary · about

  1. 0:00Introduction
  2. 2:46Why choose Woosh
  3. 5:16Data preprocessing challenges
  4. 9:17Schema and field types
  5. 12:52Indexing documents
  6. 13:58Search process and options
  7. 17:36Production deployment issues
  8. 19:04Lessons learned
  9. 21:14Q&A: Stemming and sorting
  10. 23:27Q&A: Team adoption
  11. 25:39Q&A: Elasticsearch vs Woosh
~/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.