- Home
- /
- DMBSearchViewer
- /
- Architecture
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 .
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
See the full rendering pipeline
Follow each step from navbar input to the final merged results page.
Rendering Pipeline