pub struct SearchCommand {
pub target: SearchTarget,
pub term: Scalar,
pub with_type: Option<Scalar>,
pub with_predicate: Option<Scalar>,
pub mode: Option<Scalar>,
pub threshold: Option<Scalar>,
pub as_of_seq: Option<Scalar>,
pub limit: Option<Scalar>,
pub cursor: Option<Scalar>,
}Expand description
SEARCH ...
Grounding only: a SEARCH score is not confidence, and a miss is not absence. The golden path is SEARCH → exact id → BELIEF/FIND.
Fields§
§target: SearchTargetWhat kind of element is searched.
term: ScalarThe search term.
with_type: Option<Scalar>WITH TYPE ...
with_predicate: Option<Scalar>WITH PREDICATE ...
mode: Option<Scalar>MODE "keyword" | "semantic" | "hybrid"
threshold: Option<Scalar>THRESHOLD ...
as_of_seq: Option<Scalar>Historical index basis, AS OF SEQ.
limit: Option<Scalar>The page size.
cursor: Option<Scalar>The page cursor.
Trait Implementations§
Source§impl Clone for SearchCommand
impl Clone for SearchCommand
Source§fn clone(&self) -> SearchCommand
fn clone(&self) -> SearchCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SearchCommand
impl Debug for SearchCommand
Source§impl<'de> Deserialize<'de> for SearchCommand
impl<'de> Deserialize<'de> for SearchCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SearchCommand
impl PartialEq for SearchCommand
Source§impl Serialize for SearchCommand
impl Serialize for SearchCommand
impl StructuralPartialEq for SearchCommand
Auto Trait Implementations§
impl Freeze for SearchCommand
impl RefUnwindSafe for SearchCommand
impl Send for SearchCommand
impl Sync for SearchCommand
impl Unpin for SearchCommand
impl UnsafeUnpin for SearchCommand
impl UnwindSafe for SearchCommand
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