pub struct PEFBlockInfo {
pub first_doc_id: u32,
pub last_doc_id: u32,
pub max_tf: u32,
pub max_block_score: f32,
pub partition_idx: u16,
pub local_start: u32,
pub num_docs: u16,
}Expand description
Block metadata for BlockMax WAND
Fields§
§first_doc_id: u32First document ID in block
last_doc_id: u32Last document ID in block
max_tf: u32Maximum term frequency in block
max_block_score: f32Maximum BM25 score upper bound
partition_idx: u16Starting partition index
local_start: u32Starting position within partition
num_docs: u16Number of documents in block
Implementations§
Trait Implementations§
Source§impl Clone for PEFBlockInfo
impl Clone for PEFBlockInfo
Source§fn clone(&self) -> PEFBlockInfo
fn clone(&self) -> PEFBlockInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PEFBlockInfo
impl RefUnwindSafe for PEFBlockInfo
impl Send for PEFBlockInfo
impl Sync for PEFBlockInfo
impl Unpin for PEFBlockInfo
impl UnwindSafe for PEFBlockInfo
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more