B Ben Moataz
Topic

search

10 essays on search, covering systems design, intelligence workflows, and the operational tradeoffs behind them.

10

essays and notes currently grouped under this topic cluster

1

related themes that overlap with the same body of writing

2

archive years represented inside this topic slice

Sep 2026

most recent piece inside this topic cluster

Topic Summary

10 essays on search, covering systems design, intelligence workflows, and the operational tradeoffs behind them.

Use this page when you want the archive narrowed to one recurring theme without losing chronology, tags, or adjacent themes.

Related Themes
intelligence (1)

These tags show the themes that most often travel with search in the writing, which makes them the best next jumps after this archive slice.

Writing

Essays and notes filed under this topic.

These entries stay in chronological order, but the topic framing makes the cluster easier to browse as a single research trail.

15 min read

Metadata Filtering in Vector Search: Pre-Filter, Post-Filter, and the Recall Cliff

How metadata filtering actually behaves in vector search: why post-filtering breaks tenant isolation, when selective filters collapse ANN recall, and what to do.

search
→
13 min read

Embedding Model Selection for Retrieval: How to Choose Without Trusting a Leaderboard

How I pick an embedding model for retrieval: the constraints that decide it before quality does, a bake-off you can run, and the re-index nobody prices.

search
→
17 min read

How to Evaluate RAG Retrieval: Eval Sets, Metrics, and Ship Gates

Retrieval eval is 20% metrics and 80% eval set. How I build one that survives re-indexing, which number to read at which k, and how to gate a change.

search
→
15 min read

RAG Chunking Strategy: How to Split Documents So Retrieval Works

Chunking decides what your retriever can find. Here's how I split real documents — structure-first boundaries, parent-child units, and how to prove it worked.

search
→
14 min read

Why Is My RAG Retrieval Bad? A Diagnostic Order of Operations

Bad RAG retrieval is four or five distinct failures wearing one costume. Here's how I localize which one you have before changing anything.

search
→
11 min read

Reranking in RAG: How a Cross-Encoder Fixes Retrieval Quality

A cross-encoder reranker re-scores your top candidates by reading query and document together. Here's how I add one, size it, and prove it worked.

search
→
10 min read

How to Build Hybrid Search with pgvector and BM25 in Postgres

Build hybrid search in Postgres with pgvector, tsvector, and RRF in one SQL query — the schema, index tuning, and when you actually need real BM25.

search
→
8 min read

Hybrid Search vs Vector Search: Why RAG Retrieval Needs Both

Vector search understands meaning but fumbles exact identifiers; keyword search is the opposite. Here's how I build hybrid retrieval that does both — with fusion, reranking, and a pgvector setup.

search
→
4 min read

Hybrid Search in Practice: Tuning Relevance Without Lying to Yourself

Relevance tuning is an operational discipline, not a one-time configuration. A deep dive into evaluation metrics, bias suppression, and feedback loops for intelligence systems.

search
→
7 min read

The Hybrid Search Engine: Combining Lexical and Semantic Ranks

OSINT relevance is multi-modal. A technical exploration of why keywords fail and how to fuse BM25 with Vector Embeddings for operator-grade retrieval.

searchintelligence
→
Next Topics

Related themes worth opening next.

Browse all topics