DEEPAK·SAHARAWAT

Writing

Notes on building production AI systems — RAG, LLM orchestration, search, and Elixir/Phoenix.

July 5, 2026 · 3 min

Hybrid search in Phoenix: fusing Meilisearch and pgvector with reciprocal-rank fusion

Keyword search and vector search each miss things the other catches. Here's how I combine them in a Phoenix app with reciprocal-rank fusion — and why it beats either one alone.