Compare commits

..

No commits in common. "a2ff9480cf14728d28f808ee54743f7b8b177fc6" and "c64b13537b395d917c69aef99d7632c165d8cf90" have entirely different histories.

View file

@ -63,9 +63,7 @@ class FulltextMixin:
@classmethod
def find_fulltext_ids(cls, query):
if not query:
return []
elif query[0] == '"' and query[-1] == '"':
if query[0] == '"' and query[-1] == '"':
query = {
"match_phrase": {
"text": query.lower()[1:-1]