Search Modes
Semantic
Uses OpenAI embeddings (text-embedding-3-small, 1536 dimensions) to find conceptually similar results even with different wording.
Full-Text
PostgreSQL
tsvector search with GIN indexes. Fast exact keyword matching with ranking.Hybrid (RRF)
Combines both approaches using Reciprocal Rank Fusion for best-in-class accuracy.
How It Works
Usage
Basic Search
Filtered Search
Database Schema
The search system relies on these database features:Embedding Generation
Embeddings are generated automatically when documents are created or updated. For bulk operations:API Endpoint
Search is also available via the REST API at/api/docs/hybrid-search. See the API Reference for details.
