pub struct BlockMaxPostingListWriter { /* private fields */ }Expand description
Builds a posting list with per-block max TF metadata for WAND optimization.
Format:
[num_docs: u32] [flags: u8 = 0x02] [num_blocks: u16]
[block_headers: (last_doc_id: u32, max_tf: u16, data_len: u16) × num_blocks]
[block_data: delta-encoded doc_ids + TFs per block]See [[architecture-query-execution#WAND / MaxScore Optimization]].
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlockMaxPostingListWriter
impl RefUnwindSafe for BlockMaxPostingListWriter
impl Send for BlockMaxPostingListWriter
impl Sync for BlockMaxPostingListWriter
impl Unpin for BlockMaxPostingListWriter
impl UnsafeUnpin for BlockMaxPostingListWriter
impl UnwindSafe for BlockMaxPostingListWriter
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> 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