summaryrefslogtreecommitdiff
path: root/searx/engines/postgresql.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/postgresql.py')
-rw-r--r--searx/engines/postgresql.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/searx/engines/postgresql.py b/searx/engines/postgresql.py
index e7def0635..ddd0ef929 100644
--- a/searx/engines/postgresql.py
+++ b/searx/engines/postgresql.py
@@ -29,12 +29,25 @@ except ImportError:
pass
engine_type = 'offline'
+
host = "127.0.0.1"
+"""Hostname of the DB connector"""
+
port = "5432"
+"""Port of the DB connector"""
+
database = ""
+"""Name of the database."""
+
username = ""
+"""Username for the DB connection."""
+
password = ""
+"""Password for the DB connection."""
+
query_str = ""
+"""SQL query that returns the result items."""
+
limit = 10
paging = True
result_template = 'key-value.html'