~/talk

From basic distance search to a complex multi criteria search

Talkat EuroPython 2015 · 2015-07-20..07-26· [databases]
links:none on file
slides:none on file

Starts from geodjango distance sorting, moves to elasticsearch + haystack using function_score and explicit decay functions (linear exponential gauss) to combine distance, price, picture_count and an owner_quality_rate (0–1). Implements a custom ElasticsearchSearchQuery / backend and queryset, with examples like picture_count origin 50 offset 40 scale 9 and weighted sums; result is airbnb‑style ranking that runs faster than the original geodjango approach and did not degrade response time; code is on GitHub.

AI-written summary · about

  1. 0:00Introduction
  2. 0:59AboutCaravanacom
  3. 1:56Agenda
  4. 3:27Search result
  5. 5:08What do guests want
  6. 7:55haystack elastic search
  7. 8:53haystack documentation
  8. 11:31documentation
  9. 16:41elasticsearch backend
  10. 22:31results
~/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.