> ## 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.

# Newsroom search

> Rank articles and photos in news archives with a search profile tuned for both.

Search

experimental

v0.5.0

Needs Quivr search indexes, optional rerank endpoint

[View plugin source](https://github.com/The-Vibe-Company/quivr/tree/main/plugins/newsroom-retrieve) · Plugin ID `newsroom.retrieve` · Plugin API `>=0.27.0 <0.28.0`

Newsroom search ranks articles and photos from the same archive.

![Newsroom search takes indexed articles and photos and ranks them for the results list.](https://mintcdn.com/thevibecompany/q5BY1CDLGb0PDo4C/images/diagrams/newsroom-retrieve.png?fit=max\&auto=format\&n=q5BY1CDLGb0PDo4C\&q=85\&s=9baed26ba52ea26c78363d56d7a20764)

## What it does

Use Newsroom search to rank articles and photos together. For articles, it considers signals such as the headline, opening paragraph and where in the article a match occurs. For photos, it can combine captions and metadata with matches based on the image itself.

## Before you start

Have an indexed news collection and an API key with `content:read` and `search:query` on it. To search photos by appearance, use [EmbeddingGemma 2](https://docs.quivr.thevibecompany.co/plugins/multimodal-embed.md) with an image-capable endpoint and serve a vector space that indexes images. For the second ranking pass (reranking), prepare a TEI- or Cohere-compatible service that compares the query with each shortlisted result.

## Enable it

**1. Pin Newsroom search**

Run the plugin from `plugins/newsroom-retrieve` using its manifest's run command. Follow [Pin a plugin](https://docs.quivr.thevibecompany.co/operate/manage-plugins.md#pin-a-plugin) to register its manifest and running URL. Keep your existing `default` alias and add `newsroom` for `newsroom.retrieve/default` in [search profiles](https://docs.quivr.thevibecompany.co/reference/configuration.md#search-profiles).

**2. Add the deep profile for a second pass**

For a TEI service, set the full scoring URL in the plugin's `configuration.rerank_endpoint` and set `rerank_protocol` to `tei`. For Cohere-compatible scoring, set `rerank_protocol` to `cohere` and set `rerank_model` to the service's model name. Add `newsroom-deep` for `newsroom.retrieve/deep`. If your service requires a Bearer token, set `RERANKER_API_KEY` in the plugin process and use HTTPS.

## Use it

### Compare article and photo rankings

Start with the [search guide](https://docs.quivr.thevibecompany.co/guides/search.md). Use a hybrid query such as `ferry terminal`, select the `newsroom` profile and inspect results across both articles and photos. To find only photos, set `filter.modalities` to `["image"]` and repeat. Set `include_media` to `true` to request thumbnail links where available. If you configured a rerank service, repeat with `newsroom-deep` and compare the top hits for the same scope.

### 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

The default `rerank_visual_mode` is `rerank_all`, which scores photos alongside articles in the `rerank_top_k` shortlist. On the full reranking path, the text scorer also covers the extra candidates in the Recall Band when the requested limit exceeds `rerank_band_start` and the pool has enough candidates. By default, `rerank_score_space: logit` uses raw scores and `rerank_ranking: zscore` combines scores after putting them on a common scale.

## What it produces

You get ranked documents with the passages or photos that matched. In `deep`, the text reranker scores article excerpts and photo descriptions built from captions and metadata. If you configure both `rerank_endpoint` and `rerank_multimodal_endpoint`, the image-aware reranker can use stored thumbnails to score eligible photos in the main shortlist.

## Limits and troubleshooting

Without `rerank_endpoint`, `deep` returns the first ranking. Image-to-image searches skip text reranking. With `rerank_visual_mode: skip_rerank`, a text search also skips reranking when you set `filter.modalities` to `["image"]`. If photo search misses images with little caption text, check which vector space serves the collection and whether it indexes images.

## Related plugins

[Core search](https://docs.quivr.thevibecompany.co/plugins/core-retrieve.md) · [NewsML-G2](https://docs.quivr.thevibecompany.co/plugins/newsml-g2.md) · [Image metadata](https://docs.quivr.thevibecompany.co/plugins/image-metadata.md)


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