Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Vector Databases in Production: Qdrant, pgvector & ChromaDB
Role Play
New
14 students

Vector Databases in Production: Qdrant, pgvector & ChromaDB

Learn vector databases for semantic search: embeddings, HNSW, quantization, hybrid search, filtering and real benchmarks
Created byGhulam Abbas
Last updated 11/2026
English

What you'll learn

  • Build a semantic search API with FastAPI and Qdrant
  • Understand embeddings and similarity metrics
  • Store and search vectors in ChromaDB, Qdrant and pgvector
  • Tune HNSW, IVF and quantization on real data
  • Measure search quality with recall@k, precision@10 and MRR
  • Avoid the metadata filtering trap that returns zero results
  • Build hybrid search with BM25 and Reciprocal Rank Fusion
  • Keep customer data separate with multi-tenancy
  • Write an ingestion pipeline you can re-run safely
  • Switch embedding models with zero downtime
  • Use vector stores in LangChain
  • Compare Qdrant and pgvector with the same benchmark

Course content

12 sections • 44 lectures • 6h 40m total length
  • Introduction to the Course5:51
  • How to follow along with this course2:26

Requirements

  • Basic Python
  • A computer that can run Docker (Mac, Windows or Linux)
  • OpenAI and Anthropic API keys with a little credit
  • No AI or vector database experience needed

Description

Most vector database courses show you how to insert vectors and run a search. Real apps need more: filters that return the right results, error codes the search can find, and one customer never seeing another customer's data.


This vector database course teaches you to build vector search for production, and to measure that it works.


You work on one realistic project from start to finish: Larkspan, a SaaS company with 5,000 real-looking support tickets. You'll build its search engine step by step, in Python, with ChromaDB, Qdrant and pgvector, and finish with a working search API built with FastAPI.


=== What makes this course different ===


Every claim is measured. You don't take "HNSW is fast" or "hybrid search is better" on trust. You build a recall test, a golden set of 63 questions, and benchmarks, and you see the real numbers on our own data.


You see the common mistakes and how to fix them. In the course's own runs:

- Filtering after the search found 0 of the 10 right tickets. You'll learn why, and the fix that finds all 10.

- Plain vector search found 0 of 10 tickets for the error code ERR-5031. You'll see why, and fix it with BM25 keyword search and hybrid search.

- Customer-scoped search returned 0 results from another customer across 2,250 searches.

- Switching embedding models with a zero-downtime migration raised vector search quality (MRR) from 0.758 to 0.956.


You learn how vector indexes work. HNSW, IVF and quantization are explained with diagrams first and maths second, then tuned on real data so you see what each setting changes.


=== What you'll build and learn ===


- Embeddings: what the numbers mean, cosine similarity, and how to choose a model based on measured results

- Generate embeddings efficiently with batching and a cache, so you pay for each text once

- Your first vector database with Chroma, then a production setup with Qdrant

- An ingestion pipeline you can re-run safely, with no duplicates

- How HNSW, IVF and quantization work, and how to tune HNSW and quantization in Qdrant

- Metadata filtering, multi-tenancy, and hybrid search with BM25 and Reciprocal Rank Fusion

- Measure search quality with recall@k, precision@10 and MRR

- Vector search inside Postgres with pgvector, and a head-to-head benchmark against Qdrant

- Re-embedding with zero downtime using collection aliases

- Vector stores in LangChain

- How Qdrant compares with Pinecone, Weaviate, Milvus and pgvector, and a clear framework for choosing

- Capstone: a semantic search API with FastAPI, a search page, and a benchmark report


New to LLMs? A short crash course covers LLM calls, tokens, cost and structured output with Claude and GPT, so you have the basics before embeddings.


Everything runs locally with Docker, and every command is shown for macOS and Windows. Embedding all 5,000 tickets cost about a quarter of a cent in our run, and the cache means you pay for it once.


A vector DB plus an embedding model is what lets an app search by meaning instead of exact words. This course teaches you to build that search and to measure how well it works.

Who this course is for:

  • Developers adding semantic search to their apps
  • Backend engineers who need search that returns the right results
  • Postgres users deciding if pgvector is enough
  • Engineers choosing a vector database
  • Developers ready to go past beginner vector database tutorials