Compare commits
No commits in common. "a2ff9480cf14728d28f808ee54743f7b8b177fc6" and "c64b13537b395d917c69aef99d7632c165d8cf90" have entirely different histories.
a2ff9480cf
...
c64b13537b
1 changed files with 1 additions and 3 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue