whoosh-community / whoosh

Whoosh is a fast, featureful full-text indexing and searching library implemented in pure Python.
Other
240 stars 36 forks source link

Add support for wildcard regex tokenization #576

Open maksimstojkovic opened 1 year ago

maksimstojkovic commented 1 year ago

Updated default regex pattern for tokenizers to include the wildcard symbol (*). Additionally, N-gram queries now support wildcard search query strings.

This basis for this pull request is to resolve a long-term issue experienced by Django Haystack users where wildcard searches (i.e. searches without filtering such as SearchQuerySet() and SearchQuerySet.all()) always return 0 hits.

Issues:

Stack Overflow Posts: