Treat an instance that answers 200 with zero results as a soft failure and
fall through to the next instance, instead of short-circuiting on it. This
makes public SearXNG backups actually take over when the primary instance is
up but its upstream engines are rate-limited (200-but-empty). Only return []
when every responding instance is empty; still raise SearchError only when
every instance hard-fails (unreachable/non-200/non-JSON).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- searcher: file-based instance list (mtime-reloaded, hand-editable), failover
across instances, URL normalization + dedup, Redis search cache (300s TTL)
- searxng: pinned settings.yml with JSON format enabled and limiter disabled,
secret from SEARXNG_SECRET env; wired into compose with config volume
- orchestrator: /search proxying the searcher with per-stage trace; searcher
included in aggregated /health
Verified against a mock SearXNG: failover past a dead instance, dedup of
trailing-slash duplicates, non-http URL filtering, cache miss/hit flags.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>