Remove fuzzy search, needs some tweaking probably

This commit is contained in:
Fabian Schlager 2014-11-21 16:45:20 +01:00
parent e1aa96ea5f
commit 6ec3ff6acb

View file

@ -99,7 +99,7 @@ class WhooshSearch(BaseSearch):
if not query:
return []
q = self.query_parser.parse("%s~2" % (query,))
q = self.query_parser.parse(query)
with self.search_index.searcher() as s:
results = s.search(q)