pub struct SearchExpandResult {
pub search_hits: Vec<SearchHit>,
pub expanded: Vec<(NodeRecord, u32)>,
pub all_logical_ids: Vec<String>,
}Expand description
Slice 20 (G6) — result of Engine::search_expand: initial search hits
plus nodes reached by bounded BFS expansion that are not already in the
search hit set.
Fields§
§search_hits: Vec<SearchHit>Original RRF-scored search results (G1+G9 hybrid).
expanded: Vec<(NodeRecord, u32)>Nodes reached by graph traversal but NOT already in search_hits.
Each entry is (node, hop_count) where hop_count is the BFS depth
from the nearest search hit that reached this node.
all_logical_ids: Vec<String>Deduplicated union of all logical_ids (search hits first, then expanded).
Trait Implementations§
Source§impl Clone for SearchExpandResult
impl Clone for SearchExpandResult
Source§fn clone(&self) -> SearchExpandResult
fn clone(&self) -> SearchExpandResult
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 SearchExpandResult
impl RefUnwindSafe for SearchExpandResult
impl Send for SearchExpandResult
impl Sync for SearchExpandResult
impl Unpin for SearchExpandResult
impl UnsafeUnpin for SearchExpandResult
impl UnwindSafe for SearchExpandResult
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