pub struct IndexInfo {
pub vectors: usize,
pub partitions: usize,
pub subspaces: usize,
pub n_probe: usize,
pub n_rerank: usize,
}Expand description
A read-only snapshot of an index’s shape, surfaced via Mnemo::stats.
Fields§
§vectors: usizeVectors currently held in the index.
partitions: usizeIVF partition count.
subspaces: usizePQ subspace count.
n_probe: usizeDefault partitions probed per query.
n_rerank: usizeDefault candidates reranked per query.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IndexInfo
impl RefUnwindSafe for IndexInfo
impl Send for IndexInfo
impl Sync for IndexInfo
impl Unpin for IndexInfo
impl UnsafeUnpin for IndexInfo
impl UnwindSafe for IndexInfo
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