Browse Source

[fix] add more description on possible search tpyes

Noémi Ványi 8 years ago
parent
commit
2a9339f4b7
2 changed files with 3 additions and 1 deletions
  1. 1 1
      searx/engines/mediawiki.py
  2. 2 0
      searx/settings.yml

+ 1 - 1
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

+ 2 - 0
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