docs(search): record routing policy and fallback tuning

This commit is contained in:
zap
2026-03-10 20:04:32 +00:00
parent 1de793fb8d
commit 8d288918e3
3 changed files with 25 additions and 5 deletions

View File

@@ -34,7 +34,9 @@ run_brave() {
searx_good=false
if run_searx; then
if grep -qE '^[0-9]+\.' "$TMP1"; then
if grep -qE '^[0-9]+\.' "$TMP1" \
&& ! grep -q 'Found 0 total results' "$TMP1" \
&& ! grep -q 'No results found\.' "$TMP1"; then
searx_good=true
fi
fi