Commit 6e76d013 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

* is also a boolean mode decorator.

parent e79dec66
......@@ -39,7 +39,7 @@ class MroongaFullTextKey(FullTextKey):
"""
default_comparison_operator = 'match'
fulltext_boolean_splitter = re.compile(r'(\s|\(.+?\)|".+?")')
fulltext_boolean_detector = re.compile(r'(^[+-]|^["(].+[")]$)')
fulltext_boolean_detector = re.compile(r'(^[+-]|^.+\*$|^["(].+[")]$)')
def _processSearchValue(self, search_value, logical_operator,
comparison_operator):
......
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