1
0
mirror of https://github.com/searx/searx synced 2024-12-12 00:45:18 +01:00
searx/docs/user/search_syntax.rst

43 lines
1012 B
ReStructuredText
Raw Normal View History

.. _search-syntax:
=============
2015-11-17 23:13:30 +01:00
Search syntax
=============
Searx allows you to modify the default categories, engines and search language
via the search query.
2015-11-17 23:13:30 +01:00
Prefix ``!``
to set Category/engine
2015-11-17 23:13:30 +01:00
Prefix: ``:``
to set language
2015-11-17 23:13:30 +01:00
Prefix: ``?``
to add engines and categories to the currently selected categories
2015-11-17 23:13:30 +01:00
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``).
2015-11-17 23:13:30 +01:00
See the :search:`/preferences page <preferences>` for the list of engines,
categories and languages.
2015-11-17 23:13:30 +01:00
Examples
========
2015-11-17 23:13:30 +01:00
Search in wikipedia for ``qwer``:
- :search:`!wp qwer <?q=%21wp%20qwer>` or
- :search:`!wikipedia qwer :search:<?q=%21wikipedia%20qwer>`
2015-11-17 23:13:30 +01:00
Image search:
- :search:`!images Cthulhu <?q=%21images%20Cthulhu>`
2015-11-17 23:13:30 +01:00
Custom language in wikipedia:
- :search:`:hu !wp hackerspace <?q=%3Ahu%20%21wp%20hackerspace>`