> ## Documentation Index
> Fetch the complete documentation index at: https://docs.quivr.thevibecompany.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Jev reranker

> Use TypeSafe Jev to reorder the best matches from an initial search.

Search

experimental

v1.0.1

Needs Core search and a TypeSafe key for paid calls

[View plugin source](https://github.com/The-Vibe-Company/quivr/tree/main/plugins/jev-rerank) · Plugin ID `jev.rerank` · Plugin API `>=0.13.0 <0.14.0`

Jev takes a shortlist from Core search and scores how well each passage answers your query.

![Jev reranks Core search's shortlist before Quivr returns the results.](https://mintcdn.com/thevibecompany/q5BY1CDLGb0PDo4C/images/diagrams/jev-rerank.png?fit=max\&auto=format\&n=q5BY1CDLGb0PDo4C\&q=85\&s=9e4bf5682a796c9e887069c30c431a1c)

## What it does

Use Jev to give hybrid search a second ranking pass (reranking). Quivr first finds keyword and meaning matches, then sends the query and shortlisted passages to TypeSafe's paid Jev service.

## Before you start

Keep `core.retrieve/default` available and have a collection with working hybrid search. Use an API key with `content:read` and `search:query` on that collection. Paid reranking needs a TypeSafe API key.

## Enable it

**1. Start and pin Jev**

On Railway, set `QUIVR_DEMO_JEV_RERANK=1` on both the API and worker services. Set `TYPESAFE_API_KEY` on the API service, which passes it to Jev, and redeploy both services. This maps `deep` to `jev.rerank/deep` and leaves Core search as `default`. On a custom installation, follow [Re-rank deep searches with Jev](https://docs.quivr.thevibecompany.co/operate/search-profiles.md#re-rank-with-jev) to run, pin and map the plugin. Supply the key to its process environment.

## Use it

### Compare Core search and Jev

Use the same hybrid request from the [search guide](https://docs.quivr.thevibecompany.co/guides/search.md) twice. Select `core.retrieve/default` first and `jev.rerank/deep` second. Compare the top results and look for Jev's probability in each reranked hit's explanation. Check `usage.paid_calls` for paid work on the request. A repeated query can reuse scores already in the plugin's cache.

### Reranking options

| Plugin | What scores the shortlist |
| - | - |
| [Jev reranker](https://docs.quivr.thevibecompany.co/plugins/jev-rerank.md) | Paid TypeSafe Jev service over Core search's hybrid results. |
| [HTTP reranker](https://docs.quivr.thevibecompany.co/plugins/http-rerank.md) | A scoring model you choose, behind a TEI- or Cohere-compatible endpoint. |
| [Newsroom search](https://docs.quivr.thevibecompany.co/plugins/newsroom-retrieve.md) | The `deep` profile can rerank its own shortlist through an endpoint you configure. |

## Settings

## What it produces

With default settings, Jev orders the shortlist by the probability that each passage answers the query. Set `ranking` to `rrf` to combine Jev's rank with the original hybrid rank.

## Limits and troubleshooting

Jev always asks Core search for hybrid candidates, even if the caller requests keyword search. If the key is missing, the call runs out of time or the provider is unavailable, look for `re-ranker unavailable` in the explanation. Quivr returns the hybrid order in those cases.

## Related plugins

[Core search](https://docs.quivr.thevibecompany.co/plugins/core-retrieve.md) · [HTTP reranker](https://docs.quivr.thevibecompany.co/plugins/http-rerank.md) · [Newsroom search](https://docs.quivr.thevibecompany.co/plugins/newsroom-retrieve.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.