aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web')
-rw-r--r--python/fatcat_web/search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_web/search.py b/python/fatcat_web/search.py
index 0a3ea40e..4d45dcf1 100644
--- a/python/fatcat_web/search.py
+++ b/python/fatcat_web/search.py
@@ -34,7 +34,7 @@ def do_search(q, limit=50, fulltext_only=True):
#print(search_request)
resp = requests.get("%s/%s/_search" %
- (app.config['ELASTIC_BACKEND'], app.config['ELASTIC_INDEX']),
+ (app.config['ELASTICSEARCH_BACKEND'], app.config['ELASTICSEARCH_INDEX']),
json=search_request)
if resp.status_code != 200: