Architecture — SearchViewer

Provider-based runtime search.

Module Responsibilities

DMBSearchViewer owns the search UI and result aggregation. It does not impose one storage engine or scoring model. Every provider can use a different index as long as it returns normalized results.

Provider Contract

Implement ISearchProvider to plug any data source into the viewer. The composite agent calls all registered providers, isolates errors and sorts merged results by Score .

Search provider API
public interface ISearchProvider
{
    string Name { get; }

    Task<IReadOnlyList<SearchResult>> SearchAsync(
        SearchQuery query,
        CancellationToken cancellationToken);
}

Built-in Providers

SearchBuilderSearchProvider searches the generated site crawl database.

DocumentationViewerSearchProvider searches generated documentation objects.

Tech Stack
Backend: .NET 10 / ASP.NET Core MVC
UI Integration: BootstrapBuilder navbar component
Architecture: Composite Provider Pattern
Isolation: Per-provider error containment

See the full rendering pipeline

Follow each step from navbar input to the final merged results page.

Rendering Pipeline