﻿# SearXNG result fusion should preserve engine provenance

Keep SearXNG merged-result engine provenance separate from document identity so metasearch agreement does not become a false independent-source count.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/guide-searxng-result-fusion-duplicates/
Language: en

## Separate the retrieval and evidence graphs

A metasearch response can merge the same release note found by several engines. That is useful retrieval information: multiple paths discovered the page. The evidence graph still contains one release note. Model these relationships separately so a research report does not describe one publisher's statement as several independent confirmations.

## Preserve merged engine provenance

SearXNG's [MainResult documentation](https://docs.searxng.org/dev/result_types/main/mainresult.html) defines `engines` as the engines that found a merged result. Retain that set with the document record when exporting results. A simplified interface may hide it initially, but deleting it from storage prevents later diagnosis of which retrieval paths contributed to an answer.

## Keep ranking metadata in its own role

The documented result structure also carries positions and score. [Engine settings](https://docs.searxng.org/admin/settings/settings_engines.html) includes engine weighting. These help explain ranking within the configured metasearch process; they should not be presented as probabilities that a page's factual claims are true. A widely discoverable page can still contain an outdated statement or a narrow exception.

For a release question, show the selected source and its relevant passage. If another engine returns the same URL, add retrieval provenance rather than a second citation badge implying new corroboration. If a genuinely different document appears, assess its authorship and relationship to the original announcement separately.

## Preserve configuration when comparing runs

The [Search API](https://docs.searxng.org/dev/search_api.html) forwards queries to external services and exposes instance-dependent settings. Keep the query and selected retrieval scope with each run. A changed engine set can alter the merged ranking even when the underlying document collection has not materially changed.

## Test the merge boundary

Use stored examples with one URL from several engines, distinct URLs from one publisher, and separate publishers repeating the same announcement. Verify that retrieval-path counts, document counts, and source-independence judgments remain different fields. Do not demand that a single deduplication rule answer all three questions.

The existing guides to [hybrid rank fusion](/journal/elasticsearch-rrf-linear-hybrid-retrievers/) and [citation completeness](/journal/rag-citation-precision-completeness/) help separate ranking from support. The useful output retains why a page was found while stating precisely how many distinct documents and independent observations the answer actually used.
