~/talk

Implementing a Search Index

Talkat GopherCon UK 2019 · 2019-08-21..08-23· [go, machine-learning]
slides:none on file

Describes building a Go-based search index that converts text to vectors (using pretrained CSV word2vec models and TensorFlow Universal Sentence Encoder), stores vectors in a nearest-neighbour structure (KD/BP-style tree) and ranks by distance. Tests on BBC News (2000–2004) compare Elasticsearch keyword hits vs average word2vec vectors vs sentence encoder: vector methods return semantically relevant results (e.g. answers about concepts not literally present) but pretrained models miss domain terms, so training word2vec on your corpus fixes that; overall the approach works and improves relevance.

AI-written summary · about

  1. 0:00Introduction
  2. 0:36Machine Box
  3. 1:03Search
  4. 1:42Why Search
  5. 2:02Reduce Cost
  6. 2:29Makes Users Happy
  7. 2:45Search Engines
  8. 3:43Lucky Search
  9. 4:10Generic Search
  10. 5:12Google
  11. 5:35Quick Auto Response
  12. 6:17Two Simple Steps
  13. 6:35Machine Learning
  14. 7:23War2 Vector
  15. 10:04Alberene
  16. 10:58CSV
  17. 11:38Vector Representation
  18. 13:01Tokenization
  19. 13:47Transformation
  20. 13:57Vector
  21. 15:52BB Tree
  22. 17:00Demo
  23. 18:27What is Say
  24. 19:38Elastic Search
  25. 20:54Universal Sentence Encoder
  26. 22:23Training
  27. 24:20Conclusion
~/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.