pub struct RecallTelemetry {
pub fts_candidates: usize,
pub hnsw_candidates: usize,
pub blend_weight_avg: f64,
pub embedding_dim_mismatch: usize,
}Expand description
v0.6.3.1 (P3): internal telemetry returned alongside recall results.
Plumbed from db::recall_hybrid_with_telemetry /
db::recall_with_telemetry up to mcp::handle_recall, which uses it
to populate RecallMeta. Not serialized — RecallMeta is the public
shape.
Fields§
§fts_candidates: usizeCandidates returned by the FTS5 stage before fusion.
hnsw_candidates: usizeCandidates returned by the HNSW (or linear-scan fallback) stage
before fusion. 0 for keyword-only recall.
blend_weight_avg: f64Average semantic blend weight applied across the returned set.
0.0 for keyword-only recall.
embedding_dim_mismatch: usizev0.7.0 H7 — count of stored embeddings whose dimensionality
disagreed with the active embedder model during this recall, so
their semantic signal was forced to 0.0 and excluded from the
ranking. 0 in steady state; non-zero means the embedder model
changed and the affected rows need re-embedding. The recall path
also emits one aggregated warn! per query when this is non-zero.
Trait Implementations§
Source§impl Clone for RecallTelemetry
impl Clone for RecallTelemetry
Source§fn clone(&self) -> RecallTelemetry
fn clone(&self) -> RecallTelemetry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RecallTelemetry
impl Debug for RecallTelemetry
Source§impl Default for RecallTelemetry
impl Default for RecallTelemetry
Source§fn default() -> RecallTelemetry
fn default() -> RecallTelemetry
Auto Trait Implementations§
impl Freeze for RecallTelemetry
impl RefUnwindSafe for RecallTelemetry
impl Send for RecallTelemetry
impl Sync for RecallTelemetry
impl Unpin for RecallTelemetry
impl UnsafeUnpin for RecallTelemetry
impl UnwindSafe for RecallTelemetry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
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>
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>
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