1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 20:17:45 +01:00
searxng/docs/dev/engines
Markus Heiser e560d7e373 [mod] presearch: add language & region support
In Presearch there are languages for the UI and regions for narrowing down the
search.  With this change the SearXNG engine supports a search by region.  The
details can be found in the documentation of the source code.

To test, you can search terms like::

   !presearch bmw :zh-TW
   !presearch bmw :en-CA

1. You should get results corresponding to the region (Taiwan, Canada)
2. and in the language (Chinese, Englisch).
3. The context in info box content is in the same language.

Exceptions:

1. Region or language is not supported by Presearch or
2. SearXNG user did not selected a region tag, example::

    !presearch bmw :en

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-01-15 19:23:26 +01:00
..
demo [doc] rearranges Settings & Engines docs for better readability 2023-07-01 22:45:19 +02:00
offline [doc] rearranges Settings & Engines docs for better readability 2023-07-01 22:45:19 +02:00
online [mod] presearch: add language & region support 2024-01-15 19:23:26 +01:00
online_url_search [doc] rearranges Settings & Engines docs for better readability 2023-07-01 22:45:19 +02:00
engine_overview.rst [fix] spelling 2023-09-18 16:20:27 +02:00
enginelib.rst [doc] rearranges Settings & Engines docs for better readability 2023-07-01 22:45:19 +02:00
engines.rst [doc] rearranges Settings & Engines docs for better readability 2023-07-01 22:45:19 +02:00
index.rst [fix] typos in documentation & messages 2023-08-13 08:50:29 +02:00
mediawiki.rst [mod] engine: wikimedia - improve results, add addition settings & doc 2023-08-04 19:06:50 +02:00
offline_concept.rst [doc] rearranges Settings & Engines docs for better readability 2023-07-01 22:45:19 +02:00
xpath.rst [doc] rearranges Settings & Engines docs for better readability 2023-07-01 22:45:19 +02:00