Embeddings and vector search: from meaning to nearest neighbours

11 steps · about 4 h 40 min · Beginner

  1. Embeddings and vector databases, explained with one small piece of arithmetic (article, DEV Community (deployedlabs), 10 min)

    A plain-language map analogy with a worked example gives you the core idea before any jargon.

  2. Vector Embeddings Explained: How They Work in ML & Search (article, Qdrant, 15 min)

    Shows how neural networks produce embeddings and why position in the space carries meaning.

  3. Vector embeddings explained: from theory to real-world use (article, Redis, 15 min)

    Introduces cosine similarity, exact versus approximate search, and filtered and hybrid search.

  4. Sentence Transformers: Meanings in Disguise (article, Pinecone, 25 min)

    Explains how sentence embedding models are trained so that similar meanings land close together.

  5. Semantic Search — Sentence Transformers documentation (doc, Sentence Transformers (SBERT.net), 30 min)

    Now you run it yourself: encode a corpus and a query, then rank by similarity in a few lines of Python.

  6. sentence-transformers: State-of-the-Art Embeddings, Retrieval, and Reranking (repo, Hugging Face / GitHub, 20 min)

    The official repo has the models and examples to try other embedding models on your own text.

  7. Embeddings & Vector Search (article, DEV Community (rhuturaj_takle), 30 min)

    Compares exact and approximate search and covers hybrid search with Reciprocal Rank Fusion, where pure vectors fall short.

  8. Approximate nearest neighbor search: how HNSW, IVF, product quantization and hashing trade recall for speed (article, Curiosity, 20 min)

    Compares the main ANN index families and what each costs in memory, build time and accuracy.

  9. What is a Hierarchical Navigable Small World (article, MongoDB, 15 min)

    A gentle introduction to the layered graph behind HNSW, the most common vector index.

  10. pgvector: Open-source vector similarity search for Postgres (repo, pgvector / GitHub, 40 min)

    Lets you try exact search, then add HNSW or IVFFlat indexes and see the speed-recall trade-off in real SQL.

  11. Approximate Nearest Neighbor Search on High Dimensional Data — Experiments, Analyses, and Improvement (article, arXiv, 1 h)

    An optional deeper read that benchmarks ANN methods, including HNSW, once the practical ideas are clear.