~/talk

Neural Search Comes to Apache Solr: Approximate Nearest Neighbor, BERT & more

Talkat Berlin Buzzwords 2022 · 2022-06-12..06-14· [machine-learning]
links:none on file
slides:none on file

Apache Solr adds first-class neural search in 9.0: store vectors in a dense vector field, index with Lucene’s HNSW proximity graphs and run Approximate KNN queries via a knn query parser. Supported distances: cosine, euclidean, dot; default practical recommendation is a 768-dim BERT embedding (Solr caps vectors at 1024). Index build time and memory rise (graph construction), but a 1–2 GB test index shows faster query latency than simple lexical search. Current limits: post-filtering and re-ranking only apply to the top-k, no docValues/multivalued vectors; pre-filtering lands in 9.1.

AI-written summary · about

  1. 0:00Introduction
  2. 0:30About me
  3. 2:08About my company
  4. 3:37Overview
  5. 4:58Vocabulary Mismatch
  6. 6:24False Negative Results
  7. 7:39Semantic Similarity
  8. 8:20Vector Representation
  9. 10:23Indexing Time
  10. 11:38Distance between vectors
  11. 12:22Queries for vectors
  12. 12:50Approximate Nearest Neighbor
  13. 14:37Hierarchical Navigable Small World Graph
  14. 18:38Solr similarity functions
  15. 20:14Query time
  16. 21:49Solr schema
  17. 23:21Solr functions
  18. 24:19Advanced parameters
  19. 25:33Indexing vectors
  20. 26:43Kn query parser
  21. 28:50Reranking
  22. 29:47Hybrid dense sparse retrieval
  23. 31:00Benchmarks
  24. 31:58Generating vectors from text
  25. 34:26BERT
  26. 36:18Python
  27. 37:35Performance
  28. 38:09Prefiltering
  29. 39:15Vector similarity simplification
  30. 39:46Update request processor
~/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.