mirror of
https://github.com/searxng/searxng.git
synced 2024-11-27 05:11:03 +00:00
e9fff4fde6
Normalize reST sources with best practice and KISS in mind. to name a few points: - simplify reST tables - make use of ``literal`` markup for monospace rendering - fix code-blocks for better rendering in HTML - normalize section header markup - limit all lines to a maximum of 79 characters - add option -H to the sudo command used in code blocks - drop useless indentation of lists - ... [1] https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
42 lines
1,012 B
ReStructuredText
42 lines
1,012 B
ReStructuredText
|
|
.. _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>`
|