diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2019-12-24 17:45:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-24 17:45:13 +0100 |
| commit | ecb054a7a058a1f62a536e5cac88eed8926b107d (patch) | |
| tree | 925594876f18580732d2c8a438ff8f3bea8d9092 /docs/user/search_syntax.rst | |
| parent | cc8d4b958e274eb9e154db5c319d2e50da561d61 (diff) | |
| parent | 5a0a66e9bc34af2b6404231efc7cf02f389bdfcb (diff) | |
Merge branch 'master' into patch-1
Diffstat (limited to 'docs/user/search_syntax.rst')
| -rw-r--r-- | docs/user/search_syntax.rst | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/docs/user/search_syntax.rst b/docs/user/search_syntax.rst new file mode 100644 index 000000000..b738c7274 --- /dev/null +++ b/docs/user/search_syntax.rst @@ -0,0 +1,42 @@ + +.. _search-syntax: + +============= +Search syntax +============= + +Searx allows you to modify the default categories, engines and search language +via the search query. + +Prefix ``!`` + to set Category/engine + +Prefix: ``:`` + to set language + +Prefix: ``?`` + to add engines and categories to the currently selected categories + +Abbrevations of the engines and languages are also accepted. Engine/category +modifiers are chainable and inclusive (e.g. with :search:`!it !ddg !wp qwer +<?q=%21it%20%21ddg%20%21wp%20qwer>` search in IT category **and** duckduckgo +**and** wikipedia for ``qwer``). + +See the :search:`/preferences page <preferences>` for the list of engines, +categories and languages. + +Examples +======== + +Search in wikipedia for ``qwer``: + +- :search:`!wp qwer <?q=%21wp%20qwer>` or +- :search:`!wikipedia qwer :search:<?q=%21wikipedia%20qwer>` + +Image search: + +- :search:`!images Cthulhu <?q=%21images%20Cthulhu>` + +Custom language in wikipedia: + +- :search:`:hu !wp hackerspace <?q=%3Ahu%20%21wp%20hackerspace>` |