diff options
author | Martin Fischer <martin@push-f.com> | 2022-01-12 08:18:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-12 08:18:25 +0100 |
commit | a5643aa1ca6951bfa3de9a9831b580fa29699ff6 (patch) | |
tree | aa50d544cf38f9f4726546ee6a13c0bf84a43bc8 /docs/admin | |
parent | 977e9a433085124e17f2f7f26afabbeb71db9470 (diff) | |
parent | d27a246df312392cee80d422ab0628065b32ec2c (diff) | |
download | searxng-a5643aa1ca6951bfa3de9a9831b580fa29699ff6.tar.gz searxng-a5643aa1ca6951bfa3de9a9831b580fa29699ff6.zip |
Merge pull request #734 from not-my-profile/search-syntax-doc
Small fixes to Search syntax doc
Diffstat (limited to 'docs/admin')
-rw-r--r-- | docs/admin/engines/settings.rst | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/admin/engines/settings.rst b/docs/admin/engines/settings.rst index c96dd3329..1c7ee4a86 100644 --- a/docs/admin/engines/settings.rst +++ b/docs/admin/engines/settings.rst @@ -383,6 +383,33 @@ engine is shown. Most of the options have a default value or even are optional. engines, and so won't be described here. +Example: Multilingual Search +---------------------------- + +SearXNG does not support true multilingual search. You have to use the language +prefix in your search query when searching in a different language. + +But there is a workaround: By adding a new search engine with a different +language, SearXNG will search in your default and other language. + +Example configuration in settings.yml for a German and English speaker: + +.. code-block:: yaml + + search: + default_lang : "de" + ... + + engines: + - name : google english + engine : google + language : en + ... + +When searching, the default google engine will return German results and +"google english" will return English results. + + .. _settings use_default_settings: use_default_settings |