Search: a new era
summary
Claims that Elasticsearch now handles semantic search by storing embeddings, running HNSW ANN for fast nearest neighbors and supporting over 4,000 dimensions while auto-quantizing floats to integers to cut memory. Demonstrates generating text and audio embeddings offline (or via commercial ML inference nodes), indexing them to a dense_vector field, querying with KNN and combining literal + sparse + dense scores using RRF hybrid ranking. Live demo indexes audio, returns sensible similar tracks (not exact song ID like Shazam).
AI-written summary · about
chapters (16)
- 0:00Introduction to search and AI
- 1:09Classic search and limitations
- 5:43Vector search basics
- 9:03Generating embeddings with ML
- 11:13Indexing vectors in Elasticsearch
- 14:26Searching with vectors
- 16:15How vector search works
- 18:25Optimizing vector search performance
- 21:15Best practices for vector search
- 23:44Benchmarking Elasticsearch as vector DB
- 24:27Combining term and vector search
- 26:37Sparse vectors and hybrid ranking
- 31:07Demo: Audio similarity search
- 40:32LLMs vs traditional search
- 43:21RAG with Elasticsearch and LLMs
- 46:53Conclusion and future trends
