##// END OF EJS Templates
Convert "message" searches to boolean "and" instead of "or" queries.
cmoyer -
Show More
@@ -103,7 +103,13 b' class LogService(BaseService):'
103 103 messages = filter_settings.get('message')
104 104 if messages:
105 105 query['query']['filtered']['query'] = {
106 'match': {"message": ' '.join(messages)}}
106 'match': {
107 'message': {
108 'query': ' '.join(messages),
109 'operator': 'and'
110 }
111 }
112 }
107 113 return query
108 114
109 115 @classmethod
General Comments 0
You need to be logged in to leave comments. Login now