pub struct ExpandedQuery {
pub lexical: Vec<String>,
pub semantic: Vec<String>,
pub hyde: Option<String>,
}Expand description
Expanded query variants
Fields§
§lexical: Vec<String>Lexical variations for BM25
semantic: Vec<String>Semantic variations for vector search
hyde: Option<String>Hypothetical document (HyDE)
Trait Implementations§
Source§impl Clone for ExpandedQuery
impl Clone for ExpandedQuery
Source§fn clone(&self) -> ExpandedQuery
fn clone(&self) -> ExpandedQuery
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 ExpandedQuery
impl Debug for ExpandedQuery
Source§impl Default for ExpandedQuery
impl Default for ExpandedQuery
Source§fn default() -> ExpandedQuery
fn default() -> ExpandedQuery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExpandedQuery
impl RefUnwindSafe for ExpandedQuery
impl Send for ExpandedQuery
impl Sync for ExpandedQuery
impl Unpin for ExpandedQuery
impl UnwindSafe for ExpandedQuery
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