pub struct ChunkHit {
pub record: Record,
pub score: f32,
pub ordinal: usize,
pub text: String,
}Expand description
One chunk-granular search hit: the parent [Record], the matching chunk’s
score, its ordinal within the record, and that chunk’s text. Unlike a
Hit, chunk hits are not de-duped to one-per-record.
Fields§
§record: Record§score: f32§ordinal: usize§text: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for ChunkHit
impl RefUnwindSafe for ChunkHit
impl Send for ChunkHit
impl Sync for ChunkHit
impl Unpin for ChunkHit
impl UnsafeUnpin for ChunkHit
impl UnwindSafe for ChunkHit
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