- Home
- /
- DMBSearchViewer
- /
- Introduction
Adds a compact search input to the profile side of the BootstrapBuilder navbar.
Each source computes its own relevance and returns normalized results.
Displays merged results with score, title, excerpt and navigable URL.
What is SearchViewer?
DMBSearchViewer is the runtime module that injects a search component into the navbar and renders a result listing page. It does not own one specific database: it queries registered providers and merges their results through a common score contract.
SearchViewerConfiguration.LoadCommonConfig(builder);
SearchViewerConfiguration.UseApp(app);Register SearchViewer in the website and let providers do the searching.
Three Pillars of SearchViewer
Each pillar handles a distinct responsibility in the runtime search experience.
Navbar Component
Adds a compact search input to the profile side of the BootstrapBuilder navbar.
SearchNavbarComponentProvider Contract
Lets each source compute its own relevance and return a normalized result.
ISearchProviderResults Page
Displays merged results with score, title, excerpt and navigable URL.
/SearchCore Philosophy
SearchViewer should be source-agnostic. Providers know how to search their data. The viewer knows how to collect, sort and present normalized results — regardless of how each source computed relevance.