Commit 45acca96 authored by ale's avatar ale

use a QueryStringQuery

parent 5a3330c7
......@@ -243,7 +243,7 @@ class LogStore(object):
_expire_indices(timelimit)
def _make_search(self, query_str, time_range, **search_args):
query = pyes.query.StringQuery(query_str)
query = pyes.query.QueryStringQuery(query_str)
if time_range:
trange = pyes.utils.ESRange(
'timestamp',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment