pub struct SearchReport {
pub hits: Vec<SearchHit>,
pub strategy: Strategy,
pub ef: Option<usize>,
pub visited: usize,
pub distance_computations: usize,
pub filter_selectivity: Option<f64>,
pub elapsed: Duration,
}Expand description
Search results together with the work it took to produce them.
Fields§
§hits: Vec<SearchHit>§strategy: Strategy§ef: Option<usize>Candidate list size used by an HNSW search.
visited: usize§distance_computations: usize§filter_selectivity: Option<f64>Estimated share of live records matching the filter.
elapsed: DurationTrait Implementations§
Source§impl Clone for SearchReport
impl Clone for SearchReport
Auto Trait Implementations§
impl Freeze for SearchReport
impl RefUnwindSafe for SearchReport
impl Send for SearchReport
impl Sync for SearchReport
impl Unpin for SearchReport
impl UnsafeUnpin for SearchReport
impl UnwindSafe for SearchReport
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