Expand description
FastEmbed-based cross-encoder reranker (ms-marco-MiniLM-L-6-v2).
Re-exports FastEmbedReranker from frankensearch::rerank::fastembed_reranker.
The implementation lives in the frankensearch-rerank crate.
§semantic feature gate (cass#256)
When the semantic Cargo feature is disabled (i.e. baseline build), the
upstream frankensearch::FastEmbedReranker is not available because
frankensearch/fastembed-reranker is the feature path that drags in
fastembed and the prebuilt Microsoft ONNX Runtime binary. In that build a
local stub FastEmbedReranker is exposed: it has the same public surface
the rest of the crate relies on (default_model_dir, load_from_dir,
reranker_id_static) but the loader returns a stable
RerankerError::RerankerUnavailable and the reranker cannot be
instantiated. Lexical search remains fully available.
Structs§
- Fast
Embed Reranker - FastEmbed-backed cross-encoder reranker using ms-marco-MiniLM-L-6-v2.