Trait abra::store::IndexStore
[−]
[src]
pub trait IndexStore<'a> { type Reader: IndexReader<'a>; fn reader(&'a self) -> Self::Reader; fn insert_or_update_document(&mut self, doc: Document); fn remove_document_by_key(&mut self, doc_key: &str) -> bool; }
Associated Types
type Reader: IndexReader<'a>
Required Methods
fn reader(&'a self) -> Self::Reader
fn insert_or_update_document(&mut self, doc: Document)
fn remove_document_by_key(&mut self, doc_key: &str) -> bool
Implementors
impl<'a> IndexStore<'a> for MemoryIndexStore