#[non_exhaustive]pub struct QueryTrace {}Expand description
0.8.8 EXP-OBS (Slice 5) — query-level retrieval trace. Reuses the existing
search_reranked knobs + the active embedder identity; timings are coarse
per-stage wall-clock (monotonic) captured only on the explain path.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.query_chars: u32Query LENGTH only (chars) — never the query text (privacy; ADR §C).
k: u32Final result limit (SEARCH_RERANK_LIMIT-derived final_limit).
rerank_depth: u32§pool_n: u32§alpha: f64§use_graph_arm: bool§recency: boolRecency reweight (the dedicated G12 flag) was applied.
embedder_id: StringActive embedder identity name@revision (+ dim), or empty when none.
ce_active: boolThe CE cross-encoder actually reranked the pool (model loaded + depth>0).
vector_hits: u32Per-arm input hit counts (pre-fusion).
text_hits: u32§graph_hits: u32§dropped_edge_hits: u32Edge-FTS candidates rejected only because an attribute predicate is node-scoped. Present on the opt-in explanation so this deliberate filtering never looks like an absent corpus.
Trait Implementations§
Source§impl Clone for QueryTrace
impl Clone for QueryTrace
Source§fn clone(&self) -> QueryTrace
fn clone(&self) -> QueryTrace
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more