summaryrefslogtreecommitdiff
path: root/searx/settings.yml
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2021-03-27 15:54:33 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2021-05-28 17:34:44 +0200
commit324aa96062cf8fe27504521989e12349ee917e3f (patch)
tree3088d6ebbe37758d8f10b3dc8470333b5a8d8e8b /searx/settings.yml
parentda111f7fec1c377696ed33a3c97cb5665bb01ab9 (diff)
downloadsearxng-324aa96062cf8fe27504521989e12349ee917e3f.tar.gz
searxng-324aa96062cf8fe27504521989e12349ee917e3f.zip
[enh] add PostgreSQL engine
Slightly modified merge of [22079ff] from searx. [22079ff] https://github.com/searx/searx/commit/22079ffdefb07cf69486a232e823797e737014e9 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/settings.yml')
-rw-r--r--searx/settings.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index 1675bcca7..c706c853c 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -854,6 +854,16 @@ engines:
url: https://thepiratebay.org/
timeout : 3.0
+# Required dependency: psychopg2
+# - name : postgresql
+# engine : postgresql
+# database : postgres
+# username : postgres
+# password : postgres
+# limit : 10
+# query_str : 'SELECT * from my_table WHERE my_column = %(query)s'
+# shortcut : psql
+
- name : pubmed
engine : pubmed
shortcut : pub