Reranker chains fall back for the whole query, never per item
DecisionVerified 2 Oct 2026Holds anywhere
Decision. The context, the choice, why, and the options that were turned down.
Context#
Designing rkb's reranker chain, e.g. ["jev","laya","bm25"].
Decision#
Fall back for the whole query, never per item. Scores from different backends are not comparable, and mixing them corrupts the ranking. Show which backend ran and why earlier ones were skipped. Use a short timeout in hooks.
Why#
Mixing per-item scores from different backends corrupts the ranking; a uniform backend per query keeps it comparable.
Rejected options#
Per-item fallback.
Cost accepted#
RKB_NO_MODEL=1 overrides config, flags and strict. A lesson whose sensitivity is not allowed by sinks.jev forces the whole query to the local backend. The user wants models off by default, Laya (local) as the default when on, and Jev (cloud) only on explicit opt-in.
Also found by searching
- reranker chain fallback per item or per query
- scores from different backends not comparable
- RKB_NO_MODEL=1 override
- lesson sensitivity not allowed by sinks.jev forces local backend