summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2024-01-13 14:06:26 +0100
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-01-15 19:23:26 +0100
commite560d7e373a2d083590bb75014f6b1e801775410 (patch)
treedf7c243d2649db290f7b2c6e3db5cca0965d4f2b /docs
parenta2c269bbac95879be02423cb834833654e22521b (diff)
[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>
Diffstat (limited to 'docs')
-rw-r--r--docs/dev/engines/online/presearch.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/dev/engines/online/presearch.rst b/docs/dev/engines/online/presearch.rst
new file mode 100644
index 00000000..59332c35
--- /dev/null
+++ b/docs/dev/engines/online/presearch.rst
@@ -0,0 +1,13 @@
+.. _engine presearch:
+
+================
+Presearch Engine
+================
+
+.. contents::
+ :depth: 2
+ :local:
+ :backlinks: entry
+
+.. automodule:: searx.engines.presearch
+ :members: