pub struct SearchConfig {
pub include_embeddings: bool,
pub enable_reranking: bool,
pub algorithm: SearchAlgorithm,
pub scoring_weights: ScoringWeights,
}Expand description
Search configuration
Fields§
§include_embeddings: boolWhether to include embeddings in results
enable_reranking: boolWhether to apply re-ranking
algorithm: SearchAlgorithmSearch algorithm to use
scoring_weights: ScoringWeightsCustom scoring weights
Trait Implementations§
Source§impl Clone for SearchConfig
impl Clone for SearchConfig
Source§fn clone(&self) -> SearchConfig
fn clone(&self) -> SearchConfig
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 SearchConfig
impl Debug for SearchConfig
Auto Trait Implementations§
impl Freeze for SearchConfig
impl RefUnwindSafe for SearchConfig
impl Send for SearchConfig
impl Sync for SearchConfig
impl Unpin for SearchConfig
impl UnwindSafe for SearchConfig
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