aboutsummaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/testelasticsearch.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/benchmark/testelasticsearch.py b/benchmark/testelasticsearch.py
index 7a5d1d5b..accb8792 100644
--- a/benchmark/testelasticsearch.py
+++ b/benchmark/testelasticsearch.py
@@ -41,7 +41,7 @@ def search(term):
Search a term.
"""
try:
- return es.search(index="pyaggr3g470r", body=
+ es.search(index="pyaggr3g470r", body=
{"query" : {
"filtered" : {
"query" : {
@@ -54,5 +54,4 @@ def search(term):
}
}, size=5000)
except elasticsearch.exceptions.NotFoundError as e:
- logger.warning(str(e))
- return None \ No newline at end of file
+ pass \ No newline at end of file
bgstack15