Semantic search finds results by meaning rather than exact words, and it powers product search, recommendations, duplicate detection and the retrieval step in most AI assistants. Vector databases are what make it fast at scale. This course looks closely at that layer: how embeddings work, how vector indexes trade accuracy for speed, and how to pick and run a store that fits your data and budget.
What you'll learn
- What embeddings are, how similarity is measured and why cosine, dot product and Euclidean distance differ
- Choosing an embedding model: dimensions, languages, cost, and open versus hosted models
- How approximate nearest neighbour indexes work, including HNSW and IVF, and their tuning knobs
- Vector search in PostgreSQL with pgvector, and when that is all you need
- Dedicated stores such as Qdrant, Weaviate, Milvus and Pinecone, and how to compare them
- Metadata filtering, multi-tenancy and keeping results scoped to the right user
- Hybrid search: combining keyword (BM25) and vector results with reciprocal rank fusion
- Reducing memory and cost with quantisation and smaller dimensions
- Measuring search quality with recall, precision, MRR and nDCG on your own queries
- Re-embedding, updates, deletes and other day-to-day operations
Who it's for
- Developers adding semantic search, recommendations or retrieval to a product
- Backend engineers asked to choose and run a vector database
- AI developers whose RAG answers suffer from poor retrieval
Prerequisites
- Comfortable with Python and basic SQL (see SQL and PostgreSQL Essentials)
- Experience calling an API; no maths background beyond basic algebra is needed
- Docker installed for running databases locally (see Docker and DevOps Basics)
Outcomes
By the end of this course you will be able to:
- Explain and choose embedding models and distance metrics for a given use case.
- Build semantic and hybrid search on pgvector and on a dedicated vector database.
- Tune index settings and measure the effect on speed, recall and cost.
- Evaluate search quality with a labelled query set instead of guesswork.
Course outline
| Module | Topic |
|---|---|
| 1 | From keyword search to semantic search |
| 2 | Embeddings and similarity measures |
| 3 | Choosing and testing embedding models |
| 4 | Approximate nearest neighbour indexes |
| 5 | pgvector in PostgreSQL |
| 6 | Dedicated vector databases compared |
| 7 | Filtering, multi-tenancy and access scoping |
| 8 | Hybrid search and rank fusion |
| 9 | Quantisation, scale and cost |
| 10 | Measuring search quality |
| 11 | Operations: updates, re-indexing and backups |
| 12 | Project: semantic product or document search |
FAQ
How is this different from RAG in Production?
RAG in Production covers the whole retrieval-augmented generation pipeline. This course goes deeper into the search layer underneath it, and is equally useful for search features with no LLM involved.
Do I need a dedicated vector database?
Often not. For many apps, pgvector in an existing PostgreSQL database is enough. The course shows the signs that you have outgrown it.
Which vector database do you recommend?
It depends on scale, hosting rules and your team's skills. We compare options on the same dataset so you can judge for yourself.
How do I join?
Get in touch and we'll share the current format, schedule and enrolment details.