Part 2 of 2 · Finishing my vector database notes 🧠
🗜️ 4. IVF & quantization: search only the nearest clusters, and shrink vectors up to 64× smaller
📐 5. Similarity: cosine, dot product or L2 distance, with cosine the usual choice for text
🔍 6. Search: embed the question, then use the ANN index, filters and top-k, plus keywords for hybrid search
The big trade-off: every index balances speed, accuracy and memory.
Missed Part 1? It's on my profile.
#VectorDatabase #RAG #AI #LearningInPublic #Embeddings #GenerativeAI