pub async fn reindex_page(
pool: &Pool,
tenant_slug: &str,
page_id: i64,
refs: Vec<Reference>,
)Expand description
Rebuild page_id’s reference rows from the already-scanned refs.
Dispatches a retriable ReferenceIndexJob when a sink is
installed; otherwise reindexes inline (today’s behavior).
Best-effort — errors are logged, never propagated, so a transient
index hiccup can’t block a save.