pub struct ScoringResult {
pub rel_scores: FxHashMap<FragmentId, f64>,
pub filtered_fragments: Vec<Fragment>,
pub graph: Graph,
pub graph_build_ms: f64,
pub ppr_truncated: bool,
pub ppr_forward_pushes: usize,
pub ppr_backward_pushes: usize,
}Fields§
§rel_scores: FxHashMap<FragmentId, f64>§filtered_fragments: Vec<Fragment>§graph: Graph§graph_build_ms: f64Wall time spent constructing the typed dependency graph (edge
builders + dedup + hub suppression + per-source cap). Reported
separately so scoring_ms stays pure rank computation. Zero for
BM25 (no graph built).
ppr_truncated: boolPPR push-iteration was cut by max_pushes_cap before convergence.
Always false for non-PPR strategies (EGO/BM25).
ppr_forward_pushes: usize§ppr_backward_pushes: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for ScoringResult
impl RefUnwindSafe for ScoringResult
impl Send for ScoringResult
impl Sync for ScoringResult
impl Unpin for ScoringResult
impl UnsafeUnpin for ScoringResult
impl UnwindSafe for ScoringResult
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more