summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/search.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-11-21 13:14:23 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-11-21 13:14:23 -0800
commit7f1fd61ac875c3bd58ced3a1fdbc9539d9f54644 (patch)
tree058ea52f4507e958124da438fe4844d55b94e71d /python/fatcat_web/search.py
parentb02b3c311ca708e1270fbbc7332a4c752061da87 (diff)
downloadfatcat-7f1fd61ac875c3bd58ced3a1fdbc9539d9f54644.tar.gz
fatcat-7f1fd61ac875c3bd58ced3a1fdbc9539d9f54644.zip
ELASTICSEARCH not ELASTIC
Diffstat (limited to 'python/fatcat_web/search.py')
-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: