summaryrefslogtreecommitdiff
path: root/searx/engines/elasticsearch.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-01-13 11:31:25 +0100
committerAlexandre Flament <alex@al-f.net>2021-01-14 20:57:17 +0100
commita4dcfa025c690dc4c824b2261242748a331a97e8 (patch)
tree2085c05e8ba319411a4b729c589e660d973a5c7c /searx/engines/elasticsearch.py
parent5a511f0d620038b8e94c581bcfd3c987082b9414 (diff)
downloadsearxng-a4dcfa025c690dc4c824b2261242748a331a97e8.tar.gz
searxng-a4dcfa025c690dc4c824b2261242748a331a97e8.zip
[enh] engines: add about variable
move meta information from comment to the about variable so the preferences, the documentation can show these information
Diffstat (limited to 'searx/engines/elasticsearch.py')
-rw-r--r--searx/engines/elasticsearch.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/searx/engines/elasticsearch.py b/searx/engines/elasticsearch.py
index 0e2d35756..da7f98074 100644
--- a/searx/engines/elasticsearch.py
+++ b/searx/engines/elasticsearch.py
@@ -1,3 +1,8 @@
+# SPDX-License-Identifier: AGPL-3.0-or-later
+"""
+ Elasticsearch
+"""
+
from json import loads, dumps
from requests.auth import HTTPBasicAuth
from searx.exceptions import SearxEngineAPIException