pub struct IntelligentSearchRequest {
pub query: String,
pub collections: Option<Vec<String>>,
pub max_results: Option<usize>,
pub domain_expansion: Option<bool>,
pub technical_focus: Option<bool>,
pub mmr_enabled: Option<bool>,
pub mmr_lambda: Option<f32>,
}Expand description
Intelligent search request
Fields§
§query: StringSearch query
collections: Option<Vec<String>>Collections to search (optional - searches all if not specified)
max_results: Option<usize>Maximum number of results
domain_expansion: Option<bool>Enable domain expansion
technical_focus: Option<bool>Enable technical focus
mmr_enabled: Option<bool>Enable MMR diversification
mmr_lambda: Option<f32>MMR balance parameter (0.0-1.0)
Trait Implementations§
Source§impl Clone for IntelligentSearchRequest
impl Clone for IntelligentSearchRequest
Source§fn clone(&self) -> IntelligentSearchRequest
fn clone(&self) -> IntelligentSearchRequest
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 IntelligentSearchRequest
impl Debug for IntelligentSearchRequest
Source§impl<'de> Deserialize<'de> for IntelligentSearchRequest
impl<'de> Deserialize<'de> for IntelligentSearchRequest
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
Auto Trait Implementations§
impl Freeze for IntelligentSearchRequest
impl RefUnwindSafe for IntelligentSearchRequest
impl Send for IntelligentSearchRequest
impl Sync for IntelligentSearchRequest
impl Unpin for IntelligentSearchRequest
impl UnwindSafe for IntelligentSearchRequest
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