pub struct SearchOptions {
pub limit: usize,
pub deep_search: bool,
pub time_range: Option<(u64, u64)>,
}Expand description
Options for search operations.
TigerStyle: Builder pattern with validation.
Fields§
§limit: usizeMaximum number of results to return.
deep_search: boolWhether to use deep search (LLM query rewriting).
time_range: Option<(u64, u64)>Optional time range filter (start_ms, end_ms).
Implementations§
Source§impl SearchOptions
impl SearchOptions
Sourcepub fn with_limit(self, limit: usize) -> Self
pub fn with_limit(self, limit: usize) -> Self
Sourcepub fn with_deep_search(self, deep_search: bool) -> Self
pub fn with_deep_search(self, deep_search: bool) -> Self
Enable or disable deep search.
Sourcepub fn with_time_range(self, start_ms: u64, end_ms: u64) -> Self
pub fn with_time_range(self, start_ms: u64, end_ms: u64) -> Self
Trait Implementations§
Source§impl Clone for SearchOptions
impl Clone for SearchOptions
Source§fn clone(&self) -> SearchOptions
fn clone(&self) -> SearchOptions
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 SearchOptions
impl Debug for SearchOptions
Auto Trait Implementations§
impl Freeze for SearchOptions
impl RefUnwindSafe for SearchOptions
impl Send for SearchOptions
impl Sync for SearchOptions
impl Unpin for SearchOptions
impl UnwindSafe for SearchOptions
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