summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/search.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-28 15:32:57 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-28 15:32:57 -0800
commit4137d2e8303999dedca404c2a369e7a8b6daf6ca (patch)
treee23b59551220e6c306069a80b742f4ceb28cb603 /python/fatcat_web/search.py
parenta0c2548c9ced4caa6ce088fed468059fe86013b8 (diff)
downloadfatcat-4137d2e8303999dedca404c2a369e7a8b6daf6ca.tar.gz
fatcat-4137d2e8303999dedca404c2a369e7a8b6daf6ca.zip
more ES index fixes
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 471e522a..5b8fed8f 100644
--- a/python/fatcat_web/search.py
+++ b/python/fatcat_web/search.py
@@ -33,7 +33,7 @@ def do_search(q, limit=50, fulltext_only=True):
#print(search_request)
resp = requests.get("%s/%s/_search" %
- (app.config['ELASTICSEARCH_BACKEND'], app.config['ELASTICSEARCH_INDEX']),
+ (app.config['ELASTICSEARCH_BACKEND'], app.config['ELASTICSEARCH_RELEASE_INDEX']),
json=search_request)
if resp.status_code != 200: