Expand description
Full-text search using tantivy.
Provides BM25-based text search that integrates with VectorStore
for hybrid (vector + text) search capabilities.
Structs§
- Hybrid
Result - Result from hybrid search with separate keyword and semantic scores.
- Text
Index - Full-text search index backed by tantivy.
- Text
Search Config - Configuration for text search functionality.
Constants§
- DEFAULT_
RRF_ K - Default RRF constant (k=60 per Cormack et al. 2009).
Functions§
- reciprocal_
rank_ fusion - Reciprocal Rank Fusion for combining vector and text search results.
- weighted_
reciprocal_ rank_ fusion - Weighted Reciprocal Rank Fusion for hybrid search with tunable balance.
- weighted_
reciprocal_ rank_ fusion_ with_ subscores - Weighted RRF with separate keyword and semantic scores returned.