~/talk

Using TensorFlow in a Solr Query Parser

Talkat Berlin Buzzwords 2023 · on Monday, 2023-06-19· at 11:10· Frannz Salon· [machine-learning]
links:none on file
links:none on file
slides:none on file

A Python TensorFlow model does query tagging while BERT tokenization runs outside the model because TensorFlow for Java lacks tokenizer support; the SavedModel loads into a Solr query parser and expands queries directly in Solr. Cold initialization spikes to ~4s, static-cached runs show ~1.3s then ~0.5–0.6s, and the plugin is packaged as a Solr module. End-to-end expansion works but causes redundant per-shard execution, higher JVM memory use, and nontrivial compatibility and packaging pain.

AI-written summary · about

  1. 0:00Introduction
  2. 7:28Model
  3. 10:09Implementation
  4. 11:07Tokenization
  5. 13:24Classification
  6. 15:13Position
  7. 19:24Load Classes
  8. 19:42Parse
  9. 20:27Memory Usage
  10. 21:02Latency
  11. 21:19Static initialization
  12. 21:58Setup
  13. 23:15Security Manager
  14. 24:47Start Solr
  15. 25:33OpenSSL
  16. 26:13Add Solr Key
  17. 26:52Sign Library with Key
  18. 28:21Upload to Nodes
  19. 29:35Verification
  20. 29:58Solr config
  21. 30:40Bbus prefix
  22. 31:05Upload config
  23. 31:40Run queries
  24. 32:49Run query 2
  25. 33:21Model initialization
  26. 34:12Performance
  27. 35:24Next year
~/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.