[mod] search-syntax.md: add tutorial about the feeling lucky feature

This commit is contained in:
Bnyro 2023-09-19 10:56:31 +02:00 committed by Markus Heiser
parent cc2e0537a3
commit f0df53673e
4 changed files with 36 additions and 6 deletions

View file

@ -33,7 +33,7 @@ To select language filter use a `:` prefix. To give an example:
- {{search(':fr !wp Wau Holland')}}
## `!!` external bangs
## `!!<bang>` external bangs
SearXNG supports the external bangs from [DuckDuckGo]. To directly jump to a
external search page use the `!!` prefix. To give an example:
@ -47,6 +47,20 @@ engine, SearXNG cannot protect your privacy on this.
[DuckDuckGo]: https://duckduckgo.com/bang
## `!!` automatic redirect
When mentioning `!!` within the search query (separated by spaces), you will
automatically be redirected to the first result. This behavior is comparable to
the "Feeling Lucky" feature from DuckDuckGo. To give an example:
- search for a query and get redirected to the first result
- {{search('!! Wau Holland')}}
Please keep in mind that the result you are being redirected to can't become
verified for being trustworthy, SearXNG cannot protect your personal privacy
when using this feature. Use it at your own risk.
## Special Queries
In the {{link('preferences', 'preferences')}} page you find keywords for