pub struct IndexingEngine { /* private fields */ }Implementations§
Source§impl IndexingEngine
impl IndexingEngine
pub async fn new( config: Config, sqlite_store: SqliteStore, vector_store: QdrantStore, embedding_provider: Box<dyn EmbeddingProvider>, ) -> Result<Self>
Sourcepub async fn validate_state_consistency(&self) -> Result<()>
pub async fn validate_state_consistency(&self) -> Result<()>
Validates consistency between SQLite metadata and Qdrant vectors If SQLite claims files are indexed but Qdrant collection is empty, clears SQLite state
pub async fn index_directories( &self, paths: Vec<PathBuf>, ) -> Result<IndexingStats>
pub async fn update_file(&self, file_path: &PathBuf) -> Result<()>
pub async fn remove_file(&self, file_path: &PathBuf) -> Result<()>
Auto Trait Implementations§
impl !Freeze for IndexingEngine
impl !RefUnwindSafe for IndexingEngine
impl Send for IndexingEngine
impl !Sync for IndexingEngine
impl Unpin for IndexingEngine
impl UnsafeUnpin for IndexingEngine
impl !UnwindSafe for IndexingEngine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more