Hybrid Search (Dense + Sparse Retrieval)

Hybrid Search is an information retrieval technique that merges dense vector embeddings (semantic meaning) with sparse keyword search (exact match) using reciprocal rank fusion for superior accuracy.

How it works

Vector search alone can struggle with specific product SKUs, serial numbers, email addresses, or exact technical keywords, while keyword search alone misses synonyms and semantic meaning.

Hybrid search runs both retrieval algorithms in parallel and combines the result lists using algorithms like Reciprocal Rank Fusion (RRF).

The result is a balanced ranking that understands the conceptual intent of the query while respecting precise terminology.

How SiteMind uses it

SiteMind utilizes 768-dimensional embeddings alongside PostgreSQL full-text tsvector and trigram matching to achieve high-precision RAG retrieval before passing context to Gemini Flash-Lite.