You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I understand correctly I can use the AutocompleteField and the Queryset.autocomplete method to do a partial match (instead of the regular whole word search). However that only works for matches at the start of words, not in the middle.
For example I would like the search to return a page with the word Elephant if the user searches for "pha".
Does it matter which search backend I use? I use the default backend, since I use Postgres or Sqlite.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
If I understand correctly I can use the AutocompleteField and the Queryset.autocomplete method to do a partial match (instead of the regular whole word search). However that only works for matches at the start of words, not in the middle.
For example I would like the search to return a page with the word Elephant if the user searches for "pha".
Does it matter which search backend I use? I use the default backend, since I use Postgres or Sqlite.
Beta Was this translation helpful? Give feedback.
All reactions