pub struct WANDQuery {
pub posting_lists: Vec<PostingList>,
pub scorers: Vec<Arc<dyn Scorer>>,
pub fields: Vec<FieldName>,
pub terms: Vec<String>,
pub k: usize,
}Expand description
WAND configuration shared by both algorithms.
Fields§
§posting_lists: Vec<PostingList>§scorers: Vec<Arc<dyn Scorer>>§fields: Vec<FieldName>§terms: Vec<String>§k: usizeImplementations§
Auto Trait Implementations§
impl !RefUnwindSafe for WANDQuery
impl !UnwindSafe for WANDQuery
impl Freeze for WANDQuery
impl Send for WANDQuery
impl Sync for WANDQuery
impl Unpin for WANDQuery
impl UnsafeUnpin for WANDQuery
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