Skip to content

Conversation

@dgw
Copy link
Member

@dgw dgw commented Feb 12, 2022

Description

This applies the warning from #1418 (intended to help users avoid weird behavior as described in #1415) to all search queries that contain multiple site: operators and return no result, regardless of which search engine is used.

For the combo .search command that uses both Bing and DDG, the warning triggers only if both engines return nothing.

I will finally declare #1415 closed after this patch, as we've done all we can do about it from the client end.

Checklist

  • I have read CONTRIBUTING.md
  • I can and do license this contribution under the EFLv2
  • No issues are reported by make qa (runs make quality and make test)
  • I have tested the functionality of the things this change touches

dgw added 2 commits February 11, 2022 19:34
Parity with DuckDuckGo behavior, since both search engines can return
weird (or no) results if too many such operators are combined.
Just seems best to be consistent across all commands.
@dgw dgw added the Tweak label Feb 12, 2022
@dgw dgw added this to the 7.1.8 milestone Feb 12, 2022
@dgw dgw requested a review from a team February 12, 2022 01:41
@dgw dgw linked an issue Feb 12, 2022 that may be closed by this pull request
@dgw dgw merged commit f7f2006 into master Feb 16, 2022
@dgw dgw deleted the search-multisite-warnings branch February 16, 2022 21:18
dgw added a commit that referenced this pull request Feb 16, 2022
search: consistently warn about excessive "site:" operators if no results
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DuckDuckGo is broken with multiple site: operators

3 participants