pub struct DiskANNDocumentScore { /* private fields */ }Expand description
One vector-bearing document scored from every ordinal on a fixed canonical source. This is raw cosine, not navigation distance or probability.
Implementations§
Source§impl DiskANNDocumentScore
impl DiskANNDocumentScore
Sourcepub fn version(&self) -> DiskANNVectorVersion
pub fn version(&self) -> DiskANNVectorVersion
Original mutation version shared by every scored ordinal.
Sourcepub fn vector_count(&self) -> u64
pub fn vector_count(&self) -> u64
Number of visible tensor ordinals, independent of the document candidate quota.
Sourcepub fn raw_cosine(&self) -> f32
pub fn raw_cosine(&self) -> f32
Canonical sequential-f32 cosine maximum, including its existing numeric edge behavior.
Trait Implementations§
Source§impl Clone for DiskANNDocumentScore
impl Clone for DiskANNDocumentScore
impl Copy for DiskANNDocumentScore
Auto Trait Implementations§
impl Freeze for DiskANNDocumentScore
impl RefUnwindSafe for DiskANNDocumentScore
impl Send for DiskANNDocumentScore
impl Sync for DiskANNDocumentScore
impl Unpin for DiskANNDocumentScore
impl UnsafeUnpin for DiskANNDocumentScore
impl UnwindSafe for DiskANNDocumentScore
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