pub trait IndexBackend: Send + Sync {
// Required methods
fn sync(&mut self, repo: &IxchelRepo) -> Result<SyncStats>;
fn search(&self, query: &str, limit: usize) -> Result<Vec<SearchHit>>;
fn health_check(&self) -> Result<()>;
}pub trait IndexBackend: Send + Sync {
// Required methods
fn sync(&mut self, repo: &IxchelRepo) -> Result<SyncStats>;
fn search(&self, query: &str, limit: usize) -> Result<Vec<SearchHit>>;
fn health_check(&self) -> Result<()>;
}