pub enum SoftFallbackBranch {
Vector,
Text,
TextEdge,
GraphArm,
}Expand description
Which retrieval branch produced a hit (or could not contribute).
Vector = ANN vector branch (node bodies); Text = node-body FTS branch;
TextEdge = edge-body hit (FTS via search_index_edges OR vector-projected
edge facts — both produce the same kind=“edge_fact” row shape and share the
same downstream handling in search_expand_in_tx). Vector/Text also
used as soft-fallback signal when the respective branch is empty.
GraphArm = R3 (Slice 30) BFS-reachable node from the temporal fact-edge
graph arm. Owned by dev/design/retrieval.md.
Variants§
Vector
Text
TextEdge
G11 (Slice 15) — edge-body hit from search_index_edges FTS or from
vector_default edge-fact projection. kind = "edge_fact" in both cases.
GraphArm
R3 (Slice 30) — BFS-reachable node from the temporal fact-edge graph arm.
Only present when use_graph_arm = true. Nodes in the graph arm were NOT
in the initial vector/text fused result (newly-reached nodes only).
Trait Implementations§
Source§impl Clone for SoftFallbackBranch
impl Clone for SoftFallbackBranch
Source§fn clone(&self) -> SoftFallbackBranch
fn clone(&self) -> SoftFallbackBranch
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for SoftFallbackBranch
Source§impl Debug for SoftFallbackBranch
impl Debug for SoftFallbackBranch
impl Eq for SoftFallbackBranch
Source§impl PartialEq for SoftFallbackBranch
impl PartialEq for SoftFallbackBranch
Source§fn eq(&self, other: &SoftFallbackBranch) -> bool
fn eq(&self, other: &SoftFallbackBranch) -> bool
self and other values to be equal, and is used by ==.