summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2017-05-18 22:04:31 +0200
committerNoémi Ványi <sitbackandwait@gmail.com>2017-05-18 22:04:31 +0200
commit2a9339f4b7f24bd7f5f05730c3c998ed2a66b675 (patch)
tree80e4538ad33fb81d76df3e513de06142b4c796f8 /searx
parent87f117d50efa93f2b1a7014e206c7e225d8d78c7 (diff)
downloadsearxng-2a9339f4b7f24bd7f5f05730c3c998ed2a66b675.tar.gz
searxng-2a9339f4b7f24bd7f5f05730c3c998ed2a66b675.zip
[fix] add more description on possible search tpyes
Diffstat (limited to 'searx')
-rw-r--r--searx/engines/mediawiki.py2
-rw-r--r--searx/settings.yml2
2 files changed, 3 insertions, 1 deletions
diff --git a/searx/engines/mediawiki.py b/searx/engines/mediawiki.py
index 82efbbdcb..33293cb43 100644
--- a/searx/engines/mediawiki.py
+++ b/searx/engines/mediawiki.py
@@ -31,7 +31,7 @@ search_postfix = 'w/api.php?action=query'\
'&format=json'\
'&sroffset={offset}'\
'&srlimit={limit}'\
- '&srwhat={searchtype}' # search for a near match in the title
+ '&srwhat={searchtype}'
# do search-request
diff --git a/searx/settings.yml b/searx/settings.yml
index 303a612c3..af91a18f4 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -215,6 +215,8 @@ engines:
categories : it
base_url : https://directory.fsf.org/
number_of_results : 5
+# what part of a page matches the query string: title, text, nearmatch
+# title - query matches title, text - query matches the text of page, nearmatch - nearmatch in title
search_type : title
timeout : 5.0
disabled : True