Retrieval
Find what belongs in the window
A model has no filing cabinet. Retrieval is the clerk who fetches the right folder before anyone asks the question.
A language model only knows what is put in front of it. It cannot go and look something up. So before you ask it anything, something has to walk into your company's documents, find the handful of paragraphs that matter, and paste them into the question. That fetching job is retrieval. Get it wrong and the model answers confidently from nothing — which is what people mean when they say it made something up.
46 entries · 6 categories · 4 equations
How it actually works
no jargonPDFs, wikis, tickets and spreadsheets get turned into clean text. It is the boring step that quietly decides everything after it — a table mangled here becomes a wrong answer later.
The arithmetic
Vector databases
FAISS
ANN index library rather than a database; baseline for offline search
Milvus / Zilliz
Distributed billion-scale vector database; an LF AI & Data project
MongoDB Atlas Vector Search
Vector index inside MongoDB with native embedding and rerank APIs
pgvector
Postgres extension: HNSW/IVFFlat vector indexes in your existing database
Pinecone
Serverless managed vector database with hybrid search and namespaces
Qdrant
Rust vector database with payload filtering, quantization and on-disk HNSW
Vespa
Search and ranking engine with tensor compute and ML ranking phases
Weaviate
Native BM25 and dense hybrid search, multi-tenancy, module system
Chroma
Embedded single-node vector store with a Rust core
LanceDB
Serverless vector database on the Lance columnar format, reads from object storage
pgvectorscale
StreamingDiskANN index layered on pgvector for larger-than-memory workloads
Turbopuffer
Object-storage-native search with SPFresh index, BM25 and sparse vectors
VectorChord
Postgres extension with disk-friendly IVF/RaBitQ; successor to pgvecto.rs
AGPL — check policy before embedding.
Search & hybrid retrieval
Elasticsearch
BM25 plus dense and sparse retrieval, RRF hybrid, retrievers API
Added AGPL-3.0 in 2024, restoring OSI-approved status.
OpenSearch
Apache-2.0 fork with k-NN, RRF hybrid and neural sparse retrieval
Tantivy
Rust full-text search library embedded in many higher-level tools
Meilisearch
Lightweight full-text and hybrid search for in-application search
ParadeDB
Postgres extension adding Tantivy-backed BM25 for in-database hybrid search
AGPL — check policy before embedding.
Typesense
Typo-tolerant keyword search with vector fields and a simple ops model
Embeddings & rerankers
BGE (BAAI)
Open-weight embeddings; bge-reranker-v2-m3 is the common self-host default
Cohere Embed v4 / Rerank 4
Multimodal embeddings with Matryoshka dims, plus a cross-encoder rerank API
ColBERT / PLAID
Late-interaction retrieval with token-level MaxSim; higher index cost
FlashRank
Small CPU-only reranker for latency-constrained pipelines
Jina AI
Open-weight embeddings and multimodal rerankers that score page images
Mixedbread
Open-weight embedding and reranker models plus a hosted API
Qwen3-Embedding / Reranker
Open-weight embedding and reranker models topping MTEB in 2026
Voyage AI
Domain-tuned embeddings and rerankers for legal, code and finance
Acquired by MongoDB, February 2025.
ZeroEntropy
zerank reranker models at the top of several 2026 leaderboards
Parsing & ingestion
LlamaParse
VLM-based PDF parsing to Markdown; best-in-class on messy documents
Unstructured
Thirty-plus formats to normalized elements, with connectors and VPC deployment
Chonkie
Chunking library covering token, semantic, recursive and late chunking
Docling
IBM Research layout and table pipeline; local PDF-to-Markdown, no per-page cost
Firecrawl
Crawls sites to clean Markdown or JSON and handles JS rendering
AGPL — check policy before embedding.
Marker
PDF and EPUB to Markdown, GPU-accelerated and batch-oriented
Reducto
Agentic OCR-correction parsing with on-prem, SOC 2 Type II and HIPAA
Chunkr
Parsing and semantic chunking API, self-hostable
AGPL — check policy before embedding.
Managed retrieval
Azure AI Search
Hybrid BM25, vector and semantic reranking with integrated vectorization
Bedrock Knowledge Bases
Managed ingestion and retrieval over OpenSearch, Aurora or Neptune
Vertex AI Search
Managed retrieval and grounding with connectors and a ranking API
Vectara
Managed RAG with HHEM hallucination scoring; enterprise-only since 2026
Self-service tier discontinued in 2026.
Ragie
Managed ingestion and retrieval API with connectors and citations
Graph retrieval
Graphiti
Temporal knowledge graph with edge validity intervals and hybrid graph-vector search
Microsoft GraphRAG
Entity extraction, community detection and hierarchical summaries
Indexing cost is substantial at corpus scale.
neo4j-graphrag-python
Official Neo4j retrievers and knowledge-graph construction pipeline
Cognee
Pipeline turning documents into a queryable memory graph
LightRAG
Flat dual-level graph index, far cheaper to build than GraphRAG