Skip to main content
View plugin source · Plugin ID · Plugin API The HTTP reranker passes a shortlist to your scoring service before Quivr returns it.
The HTTP reranker reorders Core search's shortlist using scores from your service.The HTTP reranker reorders Core search's shortlist using scores from your service.

What it does

Use the HTTP reranker to add a second ranking pass to Core search. You choose the scoring model, called a cross-encoder because it reads the query and candidate text together. Its service must speak the TEI or Cohere rerank protocol.

Before you start

Keep Core search pinned. Have the full rerank service URL and a model name if the service speaks Cohere. To compare searches, use an API key with content:read and search:query on a searchable collection.

Enable it

1

Pin the HTTP reranker

Run the plugin from plugins/http-rerank using its manifest’s run command. Follow Pin a plugin to register its manifest and running URL. In the pin’s configuration, set endpoint to the full URL of the scoring service. Leave protocol as tei for TEI. For a Cohere-compatible service, set protocol to cohere and supply model.
2

Map a search profile

Keep default mapped to core.retrieve/default and map a separate alias, such as reranked, to http.rerank/deep in search profiles.
The plugin sends your query and shortlisted passages to the scoring service. Use HTTPS for remote endpoints. For Bearer authentication, set RERANKER_API_KEY in the plugin process and use an HTTPS endpoint.

Use it

Compare the first and second ranking

Use the same collection, query and mode from the search guide. Run it once with profile set to default, then with profile set to reranked. Compare hit order and look for HTTP reranker: in the explanations. If you choose a different base profile via base_profile, compare against that profile instead.

Reranking options

Newsroom search skips text reranking for lexical and image-to-image searches. Set rerank_visual_mode: skip_rerank to also skip it when scope.modalities contains only image.

Settings

What it produces

The plugin reorders the shortlisted passages using the service’s scores. The default sorts by those scores. You can also combine them with Core search’s scores or ranks. Core search keeps the original query mode and collection scope.

Limits and troubleshooting

The service must return one indexed score per passage. Check the full URL, protocol and credentials if results stay in base order. By default, Quivr keeps the base ranking on a scoring error or timeout. Set fallback_on_error to false to make the plugin return a retryable reranker_unavailable error. Quivr can still return results from the deployment’s default profile when engine-level profile fallback applies. Core search · Jev reranker · Newsroom search