pub struct RetrievalPlan {
pub shape: QueryShape,
pub prefer_exact_name: bool,
pub prefer_bm25: bool,
pub prefer_atlas: bool,
pub prefer_locus: bool,
pub loci: Vec<QueryLocus>,
}Expand description
How the retrieval lens should spend its budget. Flags, not a fused score.
Fields§
§shape: QueryShape§prefer_exact_name: bool§prefer_bm25: bool§prefer_atlas: bool§prefer_locus: bool§loci: Vec<QueryLocus>Trait Implementations§
Source§impl Clone for RetrievalPlan
impl Clone for RetrievalPlan
Source§impl Debug for RetrievalPlan
impl Debug for RetrievalPlan
impl Eq for RetrievalPlan
Source§impl PartialEq for RetrievalPlan
impl PartialEq for RetrievalPlan
impl StructuralPartialEq for RetrievalPlan
Auto Trait Implementations§
impl Freeze for RetrievalPlan
impl RefUnwindSafe for RetrievalPlan
impl Send for RetrievalPlan
impl Sync for RetrievalPlan
impl Unpin for RetrievalPlan
impl UnsafeUnpin for RetrievalPlan
impl UnwindSafe for RetrievalPlan
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