~/lightning

Dense Vectors in Elasticsearch

Lightningat Berlin Buzzwords 2020 · 2020-06-07..06-12· [machine-learning, databases]
name:Nate Day
links:none on file
slides:none on file

Experiment indexes ~600,000 news articles in Elasticsearch 7.x, adding distilbert sentence embeddings stored in dense_vector fields and using cosine similarity via script_score. Corpus index size grows from ~2 GB to 13 GB with vectors. Baseline BM25 / more_like_this on titles performs well and is fast; pure embedding search is slow and returns noisy topical jumps (Trump, sports, etc.). A manual BM25 + cosine blending recovers relevant sports results and adds useful diversity.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00Background
  3. 2:20Application Context
  4. 5:50Embedding
  5. 7:40Performance Analysis
  6. 12:20Recap
  7. 13:50Questions
~/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.