pub struct MergedItem {
pub result: SearchResult,
pub final_score: f64,
pub source_legs: Vec<usize>,
pub per_leg_scores: Vec<(usize, f64)>,
}Expand description
A single ranked item in the merged result set, with fused provenance from all contributing legs.
Fields§
§result: SearchResultThe search result (uses the highest-scoring occurrence).
final_score: f64Final score after normalization and boosting.
source_legs: Vec<usize>Which leg(s) contributed this result (fused provenance).
per_leg_scores: Vec<(usize, f64)>Per-leg raw scores for transparency.
Trait Implementations§
Source§impl Clone for MergedItem
impl Clone for MergedItem
Source§fn clone(&self) -> MergedItem
fn clone(&self) -> MergedItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MergedItem
impl RefUnwindSafe for MergedItem
impl Send for MergedItem
impl Sync for MergedItem
impl Unpin for MergedItem
impl UnsafeUnpin for MergedItem
impl UnwindSafe for MergedItem
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