Remove fuzzy search, needs some tweaking probably
This commit is contained in:
parent
e1aa96ea5f
commit
6ec3ff6acb
|
@ -99,7 +99,7 @@ class WhooshSearch(BaseSearch):
|
||||||
if not query:
|
if not query:
|
||||||
return []
|
return []
|
||||||
|
|
||||||
q = self.query_parser.parse("%s~2" % (query,))
|
q = self.query_parser.parse(query)
|
||||||
|
|
||||||
with self.search_index.searcher() as s:
|
with self.search_index.searcher() as s:
|
||||||
results = s.search(q)
|
results = s.search(q)
|
||||||
|
|
Loading…
Reference in a new issue