Repository navigation
21 Roadmap and Validation Gates
Harden and measure the search layer first; add crawler and content-processing components only after reliability gates pass.
flowchart LR
S1["Stage 1<br/>Reliability<br/>instrumentation"] --> S2["Stage 2<br/>Controlled<br/>validation matrix"]
S2 --> S3["Stage 3<br/>Collection<br/>maturity"]
S3 --> S4["Stage 4<br/>Extensible<br/>providers"]
S4 --> S5["Stage 5 (deferred)<br/>Crawler & research<br/>automation"]
- Separate
http_success,engine_success,page_with_results,collection_complete(13). - Correct retry metrics: total requests, retry requests, retry reason.
- Two-axis final state: execution health vs target completeness.
- Adaptive conservative pacing and bounded backoff; CAPTCHA = stop signal.
- Checkpoint with query, region, time, page, result IDs, stop reason; validate resumed overlap.
- Caching; no identical queries repeated unless a fresh run is requested.
For normalised URL sets
| Test | Workload | Purpose |
|---|---|---|
| Smoke | 1 query, 1 repeat, 5 pages | End-to-end path |
| Depth | 1 query, 1 repeat, 20 pages | Pagination depth |
| Deep | 1 query, 1 repeat, 50-page cap | Find provider stop point without asserting completion |
| Repeatability | 1 query, 3 repeats, 20-page cap, concurrency 1 | Overlap / Jaccard / drift |
| Multi-query | 3 queries, per-query targets, concurrency 1 | Isolation and aggregation |
| Matrix | 3 queries × 2 repeats, concurrency 2 | Fan-out, artifact naming, aggregation |
| Fault injection | 429, 5xx, timeout, invalid JSON, empty page, CAPTCHA signal | Stage-specific failure and partial preservation |
Versioned schemas, stable query parsing, deterministic artifact names, idempotent write-back, provenance fields, normalised URLs, dedup tests, explicit stop reasons, retention controls, documented completeness policy. A run that writes data but misses the target is pipeline-executed / collection-partial, not an undifferentiated failure.
Keep SearXNG-only as baseline. Add providers behind a common adapter only after terms, response contract, quotas and reliability are tested. Fusion needs provenance, dedup and ranking (cf. RRF in 4.5) — a design proposal, not a result.
URL fetching, domain crawl queues, robots/terms checks, content-type detection, HTML/PDF extraction, metadata, optional local LLM analysis, agent orchestration. Keep search, fetching and interpretation as separate, independently testable modules.
Config/query parser · matrix preparation · HTTP client status classification · pagination (page cap, short/empty/duplicate page, CAPTCHA, 429/5xx) · normalisation · persistence (atomic writes, raw preservation) · aggregation · repeatability maths · Git write-back (fetch/rebase before staging; no conflicting parallel pushes) · workflow contract (manual trigger, minimal permissions, matrix bounds, artifacts uploaded even for partial runs).
- Smoke run completes with all files and correct provenance.
- Later-page failure never loses earlier data.
- Aggregation and write-back succeed when a query is partial.
- Labels distinguish execution health from completion.
- Repeat runs record repeatability metrics.
- Multi-query jobs stay isolated with one understandable aggregate.
- Limits and stop conditions are respected; no CAPTCHA bypass or evasion.
- Live validation — not unit tests alone — supports reliability claims.
| Item | Status |
|---|---|
| SearXNG-only collector, partial preservation, write-back | ✅ Done and observed |
| Deep pagination to provider stop | ✅ Observed once (15 pages) |
| Status taxonomy / retry metrics / checkpoints | 🟡 Specified |
| Repeatability, multi-query live, matrix live, fault injection | 🔴 Not yet validated |
| Crawler / extraction / LLM | ⏸ Deferred |
Q1. Why defer crawling and LLM analysis?
Without a reliable, honest search layer, downstream results inherit unknown gaps; validation gates prevent compounding uncertainty.
Q2. Which test answers "is 20-page depth repeatable?"
Repeatability: 1 query, 3 repeats, 20-page cap, concurrency 1, measuring Jaccard and drift.
Q3. Why must write-back be idempotent?
Parallel or re-run jobs must not create conflicting or duplicate commits.
← Prev 20. Research Directions · Next → 22. Ethics, Law & Compliance
Web Search Engine Pipeline Wiki · evidence snapshot 29 Nov 2026 · measured results are from the project's GitHub Actions runs; third-party figures are cited inline and listed in References.
Part I · Mission
Part II · Search Ecosystem
Part III · LLMs Meet the Web
- 6. Parametric vs Retrieved Knowledge
- 7. Agentic Search Architecture History
- 8. How Major Assistants Search
- 9. Search APIs for Agents
- 10. Agentic Browsing & Computer Use
Part IV · Simulation Lab
- 11. Simulation Strategy on GitHub Actions
- 12. Experiments & Measured Results
- 13. Reliability & Failure Taxonomy
- 14. Simulation vs Real Infrastructure
Part V · The Machine-Majority Web
- 15. Bot Traffic & AI Crawlers
- 16. Detection, Blocking & Monetisation
- 17. Detection Gaps
- 18. AI-Generated Content & the Info Ecosystem
- 19. Industry Adoption & Use Cases
Part VI · Future
Appendix