Skip to main content

RankNodeProvider

Type Alias RankNodeProvider 

Source
pub type RankNodeProvider = Box<dyn Fn(&str) -> Vec<(String, String)> + Send + Sync>;
Expand description

Rank-universe node contributor (§124 item 17 RankNodeProvider): (id, kind) pairs merged into the rank universe before edge indexing. Only rankable kinds enter (the ranker’s RANKABLE_KINDS gate); empty ids, unknown kinds, and duplicates of view nodes abstain. Rank-time only: no entity, relationship, or evidence is written. Deterministic chain order; the universe stays id-sorted regardless of provider order.

Aliased Type§

pub struct RankNodeProvider(/* private fields */);