DROPGoogle launches Gemini 3.8 Flash TTS and Flash-Lite TTS///DROPGemini Omni brings 1080p generation to Google Vids///BREAKClaude Opus 5.5 is here: 1M context, $4 input / $20 output///BREAKOpenAI adds GPT-6 Sol and Luna to the GPT-6 family///PAPEROpus 5.5's system card documents gains—and evaluation limits///BREAKGrok 4.7 launches at $2 input / $6 output per million tokens///DROPGrok Voice Transcribe 2.0 targets difficult real-world audio///TRENDGoogle steers new Gemini API projects to 3.8 Flash or 3.5 Flash-Lite///DROPGoogle launches Gemini 3.8 Flash TTS and Flash-Lite TTS///DROPGemini Omni brings 1080p generation to Google Vids///BREAKClaude Opus 5.5 is here: 1M context, $4 input / $20 output///BREAKOpenAI adds GPT-6 Sol and Luna to the GPT-6 family///PAPEROpus 5.5's system card documents gains—and evaluation limits///BREAKGrok 4.7 launches at $2 input / $6 output per million tokens///DROPGrok Voice Transcribe 2.0 targets difficult real-world audio///TRENDGoogle steers new Gemini API projects to 3.8 Flash or 3.5 Flash-Lite///
DARC.DEV
All guides
GuideLevel · Build#RAG#PostgreSQL#Qdrant

Hybrid search: when exact words matter as much as meaning

Build a retrieval test set before picking pgvector or Qdrant. Learn what to measure, where permission filters belong and when fusion actually helps.

DCDariusz Czechowicz23 Sept 20263 min readPractical guide
Hybrid search: when exact words matter as much as meaning
Source-checked Sources & corrections
4 practical sections · checklist · sources

Practical guide. Provider claims are attributed to the sources below. This page does not claim a new independent DARC benchmark.

For: Developers building document and knowledge search

Before you start: A small corpus with stable document IDs · Questions with known supporting passages

⚡ TL;DR — the 30-second version

  • Include exact IDs and paraphrases in the evaluation set.
  • Measure retrieval separately from answer generation.
  • Permission filters must apply before model context is assembled.

Semantic retrieval is useful for paraphrases. Lexical retrieval is useful for exact product codes, error messages and rare names. A hybrid pipeline combines those signals, but more machinery only helps if it improves relevance on the kinds of questions your users ask.

Start with a baseline and a labeled query set. Include both 'how do I reset this device?' and 'what does error E-1042 mean?' A single average score can hide a retrieval system that performs well on paraphrases and fails every exact identifier.

“An embedding can recognize a concept and still miss the one serial number the user needs.”
— Editorial interpretation

Field guide / 01

01 / Establish exact and lexical baselines

With pgvector, exact nearest-neighbor search is the default. Keep that as a reference when adding an approximate index. The official documentation describes HNSW and IVFFlat and warns that approximation changes the returned results.

For Qdrant, the reviewed hybrid guide uses dense and sparse queries with prefetch and fusion. Either way, hold the embedding model and corpus version fixed while testing retrieval parameters. Otherwise you cannot attribute the difference.

Field guide / 02

02 / Combine candidates, not incompatible raw scores

Scores from separate retrieval methods may live on different scales. Rank-based fusion can combine candidate lists without assuming a dense cosine score equals a lexical score. Reranking is a subsequent operation and should have its own latency and cost budget.

Measure recall at the candidate stage, then measure the quality of the final evidence set. If the supporting passage never becomes a candidate, the answer model cannot recover it reliably.

MeasureQuestion it answersFailure it reveals
Recall@kWas supporting evidence retrieved?Missing the required source
MRRHow early was the first relevant result?Useful evidence buried too deep
Citation supportDoes the answer's citation prove its claim?Correct retrieval, unsupported synthesis
Filtered latencyHow long under real access constraints?A fast demo that slows down per tenant

Field guide / 03

03 / Carry authorization through retrieval

Every chunk needs document identity, version and access metadata. A permission filter is not a UI preference: it belongs in the retrieval contract. Test two users with overlapping vocabulary and different document access, then verify the unauthorized passages never reach the model.

Selective metadata filters interact with approximate search performance and recall. Benchmark with the same tenant and category predicates your application uses, not only an unrestricted global query.

Field guide / 04

04 / Pick the simplest operational fit

If your data and access logic already live in PostgreSQL, pgvector can reduce data synchronization and operational overhead. A dedicated retrieval service can be useful when indexing and query pipelines need independent scaling or specialized operations.

The deciding evidence is your own relevance, latency, ingestion freshness and operations budget. Avoid selecting a database from a benchmark run on unrelated dimensions, filters or hardware.

Before you ship

0/5

Use this as a review aid. Checks reset when you leave this page.

Put it into practiceCreate a context policy worksheet

Sources & verification

Last checked 23 Sept 2026. Publication dates and access conditions belong to the linked originals.

  1. 01pgvector — official extension documentationpgvector↗
  2. 02Qdrant — hybrid semantic and lexical searchQdrant↗
  3. 03LlamaIndex — response and retrieval evaluationLlamaIndex↗
Editorial policy and correction log →
#RAG#PostgreSQL#Qdrant#Retrieval