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> |
||
|---|---|---|
| .. | ||
| app | ||
| Dockerfile | ||
| requirements.txt | ||