Rendering Pipeline — SearchViewer

From navbar input to merged results.

1

Navbar Submission

The navbar component submits the search term to /Search via a GET request with the query in SearchQuery .

2

Controller Dispatch

The controller normalizes page metadata and delegates provider execution to the SearchCompositeAgent .

3

Provider Execution

Each provider searches its own database and computes its own final score. Provider errors are isolated and do not interrupt other providers.

4

Merge & Sort

The composite agent merges all successful results and sorts by Score descending — the highest-relevance items appear first regardless of their source.

Results Page Rendered

The result page renders score, title, excerpt and a navigable URL for each result — without knowing how the source computed relevance.

Scoring Rule

Scores are provider-owned. The viewer treats the score as a comparable relevance number and keeps future providers free to use their own indexing strategy.

Resilient by Design

Provider errors are isolated — one failing source never blocks the others. The result page always renders with whatever data is available.

See how SearchBuilder prepares the data

Learn how the build-time module crawls and indexes pages into the database SearchViewer reads.

SearchBuilder