pub struct CompiledRawVectorSearch {
pub root_kind: String,
pub vec: Vec<f32>,
pub limit: usize,
}Expand description
Pack F1 compiled raw-vector-search carrier.
The caller supplies a dense vector directly; the coordinator binds it
to vec_<kind> without calling the embedder. The vector’s dimension
must equal the active embedding profile’s dimension.
Fields§
§root_kind: StringRoot kind the caller bound the query to (must be non-empty).
vec: Vec<f32>Caller-supplied dense vector.
limit: usizeMaximum number of candidate hits to retrieve from the vec KNN scan.
Trait Implementations§
Source§impl Clone for CompiledRawVectorSearch
impl Clone for CompiledRawVectorSearch
Source§fn clone(&self) -> CompiledRawVectorSearch
fn clone(&self) -> CompiledRawVectorSearch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CompiledRawVectorSearch
impl Debug for CompiledRawVectorSearch
Source§impl PartialEq for CompiledRawVectorSearch
impl PartialEq for CompiledRawVectorSearch
impl StructuralPartialEq for CompiledRawVectorSearch
Auto Trait Implementations§
impl Freeze for CompiledRawVectorSearch
impl RefUnwindSafe for CompiledRawVectorSearch
impl Send for CompiledRawVectorSearch
impl Sync for CompiledRawVectorSearch
impl Unpin for CompiledRawVectorSearch
impl UnsafeUnpin for CompiledRawVectorSearch
impl UnwindSafe for CompiledRawVectorSearch
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