pub struct VectorArm {
pub query_vector: Vec<f32>,
pub epoch: i64,
}Expand description
The vector arm of one search, as the coordinator resolved it.
Absent when the request asked for no vector arm, or when no comparable embedding space is in force. A store never embeds anything itself: query text and ingest text must go through one provider, and only the coordinator holds it.
Fields§
§query_vector: Vec<f32>§epoch: i64Only vectors of this epoch may be ranked. Vectors of any other epoch, and vectors whose input has since changed, are not comparable with the query and must not appear.
Trait Implementations§
impl StructuralPartialEq for VectorArm
Auto Trait Implementations§
impl Freeze for VectorArm
impl RefUnwindSafe for VectorArm
impl Send for VectorArm
impl Sync for VectorArm
impl Unpin for VectorArm
impl UnsafeUnpin for VectorArm
impl UnwindSafe for VectorArm
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