[fix] add more description on possible search tpyes
commit2a9339f4b7f24bd7f5f05730c3c998ed2a66b675
authorNoémi Ványi <sitbackandwait@gmail.com>
dateThu 18 May 2017, 22:04 (9 years ago)
parent87f117d
searx/engines/mediawiki.py+1−1
@@ -31,7 +31,7 @@ search_postfix = 'w/api.php?action=query'\
3131 '&format=json'\
3232 '&sroffset={offset}'\
3333 '&srlimit={limit}'\
34− '&srwhat={searchtype}' # search for a near match in the title
34+ '&srwhat={searchtype}'
3535
3636
3737# do search-request
searx/settings.yml+2
@@ -215,6 +215,8 @@ engines:
215215 categories : it
216216 base_url : https://directory.fsf.org/
217217 number_of_results : 5
218+# what part of a page matches the query string: title, text, nearmatch
219+# title - query matches title, text - query matches the text of page, nearmatch - nearmatch in title
218220 search_type : title
219221 timeout : 5.0
220222 disabled : True