Skip to content

Add support for wildcard regex tokenization#576

Open
maksimstojkovic wants to merge 2 commits intowhoosh-community:masterfrom
maksimstojkovic:master
Open

Add support for wildcard regex tokenization#576
maksimstojkovic wants to merge 2 commits intowhoosh-community:masterfrom
maksimstojkovic:master

Conversation

@maksimstojkovic
Copy link

@maksimstojkovic maksimstojkovic commented Nov 13, 2022

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

searchqueryset.all() return empty list when no input.

1 participant