Skip to main content

Module fastembed_reranker

Module fastembed_reranker 

Source
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§

FastEmbedReranker
FastEmbed-backed cross-encoder reranker using ms-marco-MiniLM-L-6-v2.