pub enum MaintenanceMode {
Auto,
Compact,
ReindexText,
OptimizeVectors,
Full,
}Expand description
The maintenance work requested by a caller.
Variants§
Auto
Do the minimum necessary work: purge tombstones, refresh stale text indexes, and advance the vector graph within a bounded budget.
Compact
Physically purge tombstones and compact storage/indexes.
ReindexText
Rebuild BM25 by reading and tokenizing live text.
OptimizeVectors
Advance or rebuild the vector graph without compacting text/facts.
Full
Rebuild every rebuildable structure and fully optimize vectors.
Trait Implementations§
Source§impl Clone for MaintenanceMode
impl Clone for MaintenanceMode
Source§fn clone(&self) -> MaintenanceMode
fn clone(&self) -> MaintenanceMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MaintenanceMode
Source§impl Debug for MaintenanceMode
impl Debug for MaintenanceMode
Source§impl Default for MaintenanceMode
impl Default for MaintenanceMode
Source§fn default() -> MaintenanceMode
fn default() -> MaintenanceMode
Returns the “default value” for a type. Read more
impl Eq for MaintenanceMode
Source§impl PartialEq for MaintenanceMode
impl PartialEq for MaintenanceMode
impl StructuralPartialEq for MaintenanceMode
Auto Trait Implementations§
impl Freeze for MaintenanceMode
impl RefUnwindSafe for MaintenanceMode
impl Send for MaintenanceMode
impl Sync for MaintenanceMode
impl Unpin for MaintenanceMode
impl UnsafeUnpin for MaintenanceMode
impl UnwindSafe for MaintenanceMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.