pub struct CursorWANDQuery {
pub cursors: Vec<Box<dyn PostingCursor>>,
pub scorers: Vec<Arc<dyn Scorer>>,
pub fields: Vec<FieldName>,
pub terms: Vec<String>,
pub k: usize,
}Expand description
WAND query backed directly by score-only posting cursors.
Unlike WANDQuery, this form never materializes positional payloads and
carries document length beside term frequency in each cursor entry.
Fields§
§cursors: Vec<Box<dyn PostingCursor>>§scorers: Vec<Arc<dyn Scorer>>§fields: Vec<FieldName>§terms: Vec<String>§k: usizeImplementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CursorWANDQuery
impl !Sync for CursorWANDQuery
impl !UnwindSafe for CursorWANDQuery
impl Freeze for CursorWANDQuery
impl Send for CursorWANDQuery
impl Unpin for CursorWANDQuery
impl UnsafeUnpin for CursorWANDQuery
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