pub struct SearchOutcome {
pub candidates: Vec<SearchCandidate>,
pub vector_ceiling: Option<f64>,
pub stats: ScanStats,
pub graph_stats: GraphSearchStats,
pub generation: u64,
pub epoch: Option<EpochIdentity>,
pub diagnostics: QueryDiagnostics,
}Expand description
Global top-k results and aggregate deterministic query counters.
Fields§
§candidates: Vec<SearchCandidate>Candidates merged across the active segment and the published epoch’s sealed segments.
vector_ceiling: Option<f64>Producer-supplied squared-L2 ceiling used to normalize a bounded hybrid vector leg. It is absent when the selected producer cannot yet provide a corpus-wide bound.
stats: ScanStatsAggregate work from all per-segment query-pool executions.
graph_stats: GraphSearchStatsGraph-only deterministic work; fields are zero when no segment used a graph.
generation: u64Pinned active-state generation searched by this request.
epoch: Option<EpochIdentity>Embedding and tokenizer identity that interpreted this query.
diagnostics: QueryDiagnosticsUnconditional report of the executed query path.
Trait Implementations§
Source§impl Clone for SearchOutcome
impl Clone for SearchOutcome
Source§impl Debug for SearchOutcome
impl Debug for SearchOutcome
Source§impl PartialEq for SearchOutcome
impl PartialEq for SearchOutcome
impl StructuralPartialEq for SearchOutcome
Auto Trait Implementations§
impl Freeze for SearchOutcome
impl RefUnwindSafe for SearchOutcome
impl Send for SearchOutcome
impl Sync for SearchOutcome
impl Unpin for SearchOutcome
impl UnsafeUnpin for SearchOutcome
impl UnwindSafe for SearchOutcome
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