pub struct CompiledSemanticSearch {
pub root_kind: String,
pub text: String,
pub limit: usize,
}Expand description
Pack F1 compiled semantic-search carrier.
Structurally parallel to CompiledVectorSearch, but the caller’s
payload is natural-language text — the coordinator embeds it at query
time using the db-wide active profile embedder. Unlike
CompiledVectorSearch::query_text (which is a JSON float-array
literal), text here is the raw user string.
Fields§
§root_kind: StringRoot kind the caller bound the query to (must be non-empty).
text: StringRaw natural-language query to embed at execution time.
limit: usizeMaximum number of candidate hits to retrieve from the vec KNN scan.
Trait Implementations§
Source§impl Clone for CompiledSemanticSearch
impl Clone for CompiledSemanticSearch
Source§fn clone(&self) -> CompiledSemanticSearch
fn clone(&self) -> CompiledSemanticSearch
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 CompiledSemanticSearch
impl Debug for CompiledSemanticSearch
Source§impl PartialEq for CompiledSemanticSearch
impl PartialEq for CompiledSemanticSearch
impl Eq for CompiledSemanticSearch
impl StructuralPartialEq for CompiledSemanticSearch
Auto Trait Implementations§
impl Freeze for CompiledSemanticSearch
impl RefUnwindSafe for CompiledSemanticSearch
impl Send for CompiledSemanticSearch
impl Sync for CompiledSemanticSearch
impl Unpin for CompiledSemanticSearch
impl UnsafeUnpin for CompiledSemanticSearch
impl UnwindSafe for CompiledSemanticSearch
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