- Home
- /
- DMBSearchBuilder
- /
- Architecture
Architecture — SearchBuilder
Crawler, normalizer and database writer.
Module Responsibilities
DMBSearchBuilder is independent from the runtime UI. It receives crawl options, fetches HTML pages, extracts normalized search data and writes the SQLite database consumed later by SearchViewer.
Effects/
Crawler/ → Resolve URI, walk same-site links
Normalizer/ → Accent, case, punctuation, PascalCase
Persistence/ → SearchPages + SearchPageTerms tables
wwwroot/Search/data.db → Generated outputStored Data
Every crawled page produces one SearchPages record and many SearchPageTerms rows — one per normalized token with its computed weight.
SearchPages
- Url
- Title
- Description
- Keywords
- ContentLength
SearchPageTerms
- PageId
- Term
- WeightRuntime Boundary
SearchBuilder writes relative page URLs. SearchViewer turns those paths into links and display URLs using the current host configuration, which keeps localhost crawling separate from production display.
Tech Stack
See the full pipeline
Follow each step from launch profile resolution to the final database write.
Rendering Pipeline