pub struct MatchPage {
pub hits: Vec<(Vec<u8>, f64, Vec<(Vec<u8>, Vec<(u32, u32)>)>)>,
pub facets: Vec<FacetCounts>,
}Expand description
A faceted query’s answer: the page, and per requested FACET field
its (value, count) buckets over the whole match set.
Fields§
§hits: Vec<(Vec<u8>, f64, Vec<(Vec<u8>, Vec<(u32, u32)>)>)>The ranked page — exactly what Store::idx_match_with returns.
facets: Vec<FacetCounts>One entry per requested facet field, most frequent first.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MatchPage
impl RefUnwindSafe for MatchPage
impl Send for MatchPage
impl Sync for MatchPage
impl Unpin for MatchPage
impl UnsafeUnpin for MatchPage
impl UnwindSafe for MatchPage
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