~/talk

Vector Similarity Search in Spring with Redis Stack

Talkat Devnexus 2023 · 2023-04-04..04-06· [spring, databases]
slides:none on file

Claim: a Java Spring app performs production-grade vector similarity search without Python by using Redis Stack for vector indexes and Redis OM Spring for entity mapping. Tools: DJL with PyTorch-backed models (retinaface for detection, SBERT-like encoders) to produce byte-array embeddings, stored in Redis and indexed with HNSW/L2. The demo loads 11,637 embeddings, runs K=6 nearest neighbors, and returns plausible celebrity matches; searches are fast, embedding generation is the main latency.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:28Why vector similarity search matters
  3. 17:50Generating vectors with Java
  4. 25:25What is Redis Stack
  5. 33:47Redis OM Spring for Spring Data
  6. 39:43Facial similarity search demo
  7. 56:23Performance and Q&A
~/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.