pub mod bm25;
pub mod hybrid;
pub mod vector;
use crate::core::types::EntityId;
#[derive(Debug, Clone, PartialEq)]
#[must_use]
pub struct SearchHit {
pub entity_id: EntityId,
pub score: f32,
}
#[derive(Debug, Clone)]
pub struct SearchOpts {
pub top_k: usize,
pub include_dark: bool,
}
impl Default for SearchOpts {
fn default() -> Self {
Self {
top_k: 10,
include_dark: false,
}
}
}