pub enum TextTopKStrategy {
Wand,
BlockMaxWand,
}Expand description
Exact physical top-k algorithm selected for a text-retrieval leaf.
The logical OperatorTree::Term remains usable without a limit. Once a
planner proves that a score-ordered limit can be pushed into that leaf it
attaches one of these strategies through TextTopKPlan.
Variants§
Wand
Document-at-a-time WAND with scorer-provided term upper bounds.
BlockMaxWand
Block-Max WAND with persisted, scorer-versioned block bounds.
Trait Implementations§
Source§impl Clone for TextTopKStrategy
impl Clone for TextTopKStrategy
Source§fn clone(&self) -> TextTopKStrategy
fn clone(&self) -> TextTopKStrategy
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 TextTopKStrategy
Source§impl Debug for TextTopKStrategy
impl Debug for TextTopKStrategy
impl Eq for TextTopKStrategy
Source§impl PartialEq for TextTopKStrategy
impl PartialEq for TextTopKStrategy
impl StructuralPartialEq for TextTopKStrategy
Auto Trait Implementations§
impl Freeze for TextTopKStrategy
impl RefUnwindSafe for TextTopKStrategy
impl Send for TextTopKStrategy
impl Sync for TextTopKStrategy
impl Unpin for TextTopKStrategy
impl UnsafeUnpin for TextTopKStrategy
impl UnwindSafe for TextTopKStrategy
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