mchaput / whoosh

Pure-Python full-text search library
Other
569 stars 69 forks source link

Add support for wildcard regex tokenization #33

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: