A visualization of an HNSW graph structure with layered nodes and edges

Build an HNSW Vector Index from Scratch in Python for RAG

Build an HNSW graph vector index from scratch in pure Python and integrate it into a RAG pipeline. This hands-on guide covers the full implementation, testing, and a roadmap to production-grade features.

September 8, 2026 · 13 min · 2737 words · martinuke0
Diagram of a hybrid retriever with sparse and dense branches feeding a reranker.

Build a Hybrid Sparse-Dense Retriever: A CV-Worthy RAG Side Project

Hands-on build guide for a hybrid sparse-dense retriever (BM25 + embedding reranking) with a from-scratch HNSW vector index. Real runnable code, architecture diagrams, and a roadmap to senior-level.

September 7, 2026 · 14 min · 2978 words · martinuke0
Illustration of a high‑dimensional vector space with a graph structure.

Implementing Vector Search at Scale: Optimizing HNSW Index Construction for High Dimensional Embeddings

A deep dive into scaling HNSW index construction, with practical code, hardware tips, and best‑practice recommendations.

May 12, 2026 · 8 min · 1607 words · martinuke0
Illustration of a multi‑node graph representing hierarchical small‑world connections.

Scaling Vector Search with Hierarchical Navigable Small Worlds for Real Time Distributed Inference

An in‑depth guide to using HNSW for low‑latency, distributed vector search, with concrete code, performance tips, and real‑world deployment patterns.

May 12, 2026 · 8 min · 1653 words · martinuke0
Feedback