- Understand when purely vector search fails.
- Combine dense search, sparse search, and filters.
- Use reranking to improve the final chunks.
Recommended pipeline
query -> reescritura opcional -> filtros de permisos -> dense retrieval -> sparse retrieval -> fusión de resultados -> reranking -> top chunks con citas -> generación
Signals for hybrid search
- Users ask about codes, IDs, or exact clauses.
- There is a lot of internal terminology.
- Documents mix tables, text, and references.
- Semantic search returns "almost correct" answers.