aicx-retrieve 0.9.2

Retrieval trait surface, Tantivy adapter, and manifest contract for aicx hybrid indexes.
Documentation
1
2
3
4
5
6
7
8
// Vibecrafted with AI Agents by VetCoders (c)2024-2026 LibraxisAI
use crate::Hit;

/// Contract for combining lexical and dense retrieval results.
pub trait FusionStrategy {
    fn fuse(&self, lex: Vec<Hit>, dense: Vec<Hit>, limit: usize) -> Vec<Hit>;
    fn name(&self) -> &str;
}