pub struct LexicalCandidate {
pub document: DocumentVersion,
pub score: f64,
}Expand description
One store-backed lexical hit joined to its stable document identity.
Fields§
§document: DocumentVersionStable application document version.
score: f64Larger-is-better BM25 score.
Trait Implementations§
Source§impl Clone for LexicalCandidate
impl Clone for LexicalCandidate
impl Copy for LexicalCandidate
Source§impl Debug for LexicalCandidate
impl Debug for LexicalCandidate
Source§impl PartialEq for LexicalCandidate
impl PartialEq for LexicalCandidate
impl StructuralPartialEq for LexicalCandidate
Auto Trait Implementations§
impl Freeze for LexicalCandidate
impl RefUnwindSafe for LexicalCandidate
impl Send for LexicalCandidate
impl Sync for LexicalCandidate
impl Unpin for LexicalCandidate
impl UnsafeUnpin for LexicalCandidate
impl UnwindSafe for LexicalCandidate
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