Skip to content

Commit f5c53f5

Browse files
author
Oleksandr Volha
committed
remove fixme
1 parent 284502d commit f5c53f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

translator/app/translator/platforms/base/lucene/tokenizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def search_keyword(self, query: str) -> Tuple[Keyword, str]:
116116
_, value = self.get_operator_and_value(keyword_search)
117117
value = value.strip(self.wildcard_symbol)
118118
keyword = Keyword(value=value)
119-
pos = keyword_search.end() - 1 # FIXME: do not count the last group of pattern e.g. )
119+
pos = keyword_search.end() - 1
120120
return keyword, query[pos:]
121121

122122
def _match_field_value(self, query: str, white_space_pattern: str = r"\s*") -> bool:

0 commit comments

Comments
 (0)