~/talk

Painless / Painful? A Custom Ranking System in Elasticsearch

TalkinPolishat 4Developers 2022 Online · 2022-04-04..04-07· [databases]
links:none on file
slides:none on file

A car-rental demo implements a custom ranking system on Elasticsearch/OpenSearch using function_score (mode=sum) to combine index-time, runtime, and mixed factors so business rules and contextual filters affect scoring. Runtime functions are written in Painless scripts but encounter pitfalls like lost array order unless reading _source, a restricted Java subset, and performance/caching tradeoffs between filters and scoring; debugging uses explain/debug APIs and clip_score, and the solution was migrated to OpenSearch 1.3.0’s explanation feature to avoid breakage.

AI-written summary · about

  1. 0:00System rankingowy introduction
  2. 2:29Case study presentation
  3. 5:23System architecture & tech
  4. 7:09Ranking factors types
  5. 12:24Contextual factors deep dive
  6. 17:29Painless in Elasticsearch
  7. 21:21Painless debugging pitfalls
  8. 32:59Color issues troubleshooting
  9. 36:30Ranking exploration & explanations
  10. 37:59OpenSearch comparison
~/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.