pub struct ColdHit {
pub key: Vec<u8>,
pub score: f64,
pub okey: Option<Vec<u8>>,
}Expand description
One cold hit: its page-order ingredients, ready to merge.
Fields§
§key: Vec<u8>The row key this hit points at.
score: f64Its BM25 relevance. Comparable across segments because the document-frequency corrections are applied before the merge, not after — a per-segment score would not be.
okey: Option<Vec<u8>>The sort key, when the query sorts by a stored value.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ColdHit
impl RefUnwindSafe for ColdHit
impl Send for ColdHit
impl Sync for ColdHit
impl Unpin for ColdHit
impl UnsafeUnpin for ColdHit
impl UnwindSafe for ColdHit
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