Right now the search logic requires complete words before suggesting results:
It would be nice if the search uses autocomplete or fuzzy matching instead. This might be as simple as changing .search() to .autocomplete() in the views, but I'm not very sure:
From @laymonage in https://github.com/wagtail/guide/discussions/356#discussioncomment-7423565.
Right now the search logic requires complete words before suggesting results:
It would be nice if the search uses autocomplete or fuzzy matching instead. This might be as simple as changing
.search()
to.autocomplete()
in the views, but I'm not very sure:https://github.com/wagtail/guide/blob/4fb0682d4af9cf0992ca1ce24baad587764c7796/apps/search/views.py#L18
https://github.com/wagtail/guide/blob/4fb0682d4af9cf0992ca1ce24baad587764c7796/apps/search/views.py#L69