pub struct SqliteStore { /* private fields */ }Expand description
SQLite-based store using FTS5 for full-text search.
The default backend for oo, indexes command output in SQLite’s
FTS5 virtual table for efficient full-text search.
Implementations§
Trait Implementations§
Source§impl Store for SqliteStore
impl Store for SqliteStore
Source§fn index(
&mut self,
project_id: &str,
content: &str,
meta: &SessionMeta,
) -> Result<String, Error>
fn index( &mut self, project_id: &str, content: &str, meta: &SessionMeta, ) -> Result<String, Error>
Index a command output entry for later retrieval. Read more
Source§fn search(
&mut self,
project_id: &str,
query: &str,
limit: usize,
) -> Result<Vec<SearchResult>, Error>
fn search( &mut self, project_id: &str, query: &str, limit: usize, ) -> Result<Vec<SearchResult>, Error>
Search for indexed entries matching a query. Read more
Auto Trait Implementations§
impl !Freeze for SqliteStore
impl !RefUnwindSafe for SqliteStore
impl Send for SqliteStore
impl !Sync for SqliteStore
impl Unpin for SqliteStore
impl UnsafeUnpin for SqliteStore
impl !UnwindSafe for SqliteStore
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