Skip to main content
View plugin source · Plugin ID · Plugin API Newsroom search ranks articles and photos from the same archive.
Newsroom search takes indexed articles and photos and ranks them for the results list.Newsroom search takes indexed articles and photos and ranks them for the results list.

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 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 to register its manifest and running URL. Keep your existing default alias and add newsroom for newsroom.retrieve/default in 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. 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

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. Core search · NewsML-G2 · Image metadata