pub struct HybridSearch {
pub embedding_weight: f32,
pub text_weight: f32,
}Fields§
§embedding_weight: f32The weight of the embedding in the reciprocal ranking fusion.
text_weight: f32The weight of the text in the reciprocal ranking fusion.
Trait Implementations§
Source§impl Clone for HybridSearch
impl Clone for HybridSearch
Source§fn clone(&self) -> HybridSearch
fn clone(&self) -> HybridSearch
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 HybridSearch
impl Debug for HybridSearch
Source§impl<'de> Deserialize<'de> for HybridSearch
impl<'de> Deserialize<'de> for HybridSearch
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 HybridSearch
impl PartialEq for HybridSearch
Source§impl Serialize for HybridSearch
impl Serialize for HybridSearch
impl StructuralPartialEq for HybridSearch
Auto Trait Implementations§
impl Freeze for HybridSearch
impl RefUnwindSafe for HybridSearch
impl Send for HybridSearch
impl Sync for HybridSearch
impl Unpin for HybridSearch
impl UnwindSafe for HybridSearch
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