2022-03-12 10:18:08 +01:00
|
|
|
# Search syntax
|
|
|
|
|
2022-04-06 14:13:22 +02:00
|
|
|
SearXNG comes with a search syntax by with you can modify the categories,
|
|
|
|
engines, languages and more. See the {{link('preferences', 'preferences')}} for
|
|
|
|
the list of engines, categories and languages.
|
2022-03-12 10:18:08 +01:00
|
|
|
|
2022-04-06 14:13:22 +02:00
|
|
|
## `!` select engine and category
|
2022-03-12 10:18:08 +01:00
|
|
|
|
2022-04-06 14:13:22 +02:00
|
|
|
To set category and/or engine names use a `!` prefix. To give a few examples:
|
2022-03-12 10:18:08 +01:00
|
|
|
|
2022-05-28 16:41:53 +02:00
|
|
|
- search in Wikipedia for **paris**
|
2022-03-12 10:18:08 +01:00
|
|
|
|
2022-04-06 14:13:22 +02:00
|
|
|
- {{search('!wp paris')}}
|
|
|
|
- {{search('!wikipedia paris')}}
|
2022-03-12 10:18:08 +01:00
|
|
|
|
2022-04-06 14:13:22 +02:00
|
|
|
- search in category **map** for **paris**
|
2022-03-12 10:18:08 +01:00
|
|
|
|
2022-04-06 14:13:22 +02:00
|
|
|
- {{search('!map paris')}}
|
2022-03-12 10:18:08 +01:00
|
|
|
|
2022-04-06 14:13:22 +02:00
|
|
|
- image search
|
2022-03-12 10:18:08 +01:00
|
|
|
|
2022-04-06 14:13:22 +02:00
|
|
|
- {{search('!images Wau Holland')}}
|
2022-03-12 10:18:08 +01:00
|
|
|
|
2022-04-06 14:13:22 +02:00
|
|
|
Abbreviations of the engines and languages are also accepted. Engine/category
|
|
|
|
modifiers are chain able and inclusive. E.g. with {{search('!map !ddg !wp
|
2022-05-28 16:41:53 +02:00
|
|
|
paris')}} search in map category and DuckDuckGo and Wikipedia for **paris**.
|
2022-03-12 10:18:08 +01:00
|
|
|
|
2022-04-06 14:13:22 +02:00
|
|
|
## `:` select language
|
2022-03-12 10:18:08 +01:00
|
|
|
|
2022-04-06 14:13:22 +02:00
|
|
|
To select language filter use a `:` prefix. To give an example:
|
2022-03-12 10:18:08 +01:00
|
|
|
|
2022-05-28 16:41:53 +02:00
|
|
|
- search Wikipedia by a custom language
|
2022-03-12 10:18:08 +01:00
|
|
|
|
2022-04-06 14:13:22 +02:00
|
|
|
- {{search(':fr !wp Wau Holland')}}
|
|
|
|
|
2023-09-19 10:56:31 +02:00
|
|
|
## `!!<bang>` external bangs
|
2022-04-06 14:13:22 +02:00
|
|
|
|
2023-01-07 14:44:04 +01:00
|
|
|
SearXNG supports the external bangs from [DuckDuckGo]. To directly jump to a
|
|
|
|
external search page use the `!!` prefix. To give an example:
|
2022-04-06 14:13:22 +02:00
|
|
|
|
2022-05-28 16:41:53 +02:00
|
|
|
- search Wikipedia by a custom language
|
2022-04-06 14:13:22 +02:00
|
|
|
|
|
|
|
- {{search('!!wfr Wau Holland')}}
|
|
|
|
|
|
|
|
Please note, your search will be performed directly in the external search
|
|
|
|
engine, SearXNG cannot protect your privacy on this.
|
|
|
|
|
2022-05-28 16:41:53 +02:00
|
|
|
[DuckDuckGo]: https://duckduckgo.com/bang
|
2022-04-06 14:13:22 +02:00
|
|
|
|
2023-09-19 10:56:31 +02:00
|
|
|
## `!!` 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.
|
|
|
|
|
2022-04-06 14:13:22 +02:00
|
|
|
## Special Queries
|
|
|
|
|
|
|
|
In the {{link('preferences', 'preferences')}} page you find keywords for
|
|
|
|
_special queries_. To give a few examples:
|
|
|
|
|
|
|
|
- generate a random UUID
|
|
|
|
|
|
|
|
- {{search('random uuid')}}
|
|
|
|
|
|
|
|
- find the average
|
|
|
|
|
|
|
|
- {{search('avg 123 548 2.04 24.2')}}
|
|
|
|
|
|
|
|
- show _user agent_ of your browser (needs to be activated)
|
|
|
|
|
|
|
|
- {{search('user-agent')}}
|
|
|
|
|
|
|
|
- convert strings to different hash digests (needs to be activated)
|
|
|
|
|
|
|
|
- {{search('md5 lorem ipsum')}}
|
|
|
|
- {{search('sha512 lorem ipsum')}}
|