-
-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] autosuggest by words containing hyphens and other special chars #4170
Comments
EXT:solrs suggest-service uses "facet"-approach. There is a field wanted which combines following on index analyzer-config:
Please add that field via pull-request. |
dkd-kaehm
changed the title
[BUG] Search words with special characters like hyphens break autosuggest feature
[FEATURE] autosuggest by words containing hyphens and other special chars
Sep 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When using special characters like hyphens in the search term field no autosuggest option is provided anymore.
To Reproduce
I have several pages with several tags like "Digital-Abo" or "Digital-Ausgabe" in a Solr index.
Steps to reproduce the behavior:
Terms with whitespaces are working as expected.
Expected behavior
Special characters should also be working in autosuggest feature by default.
Used versions (please complete the following information):
By default the autosuggest feature uses the field
spell
. I tried different field types likestringM
,textM
ortextSpellM
as there are multiple values but$results->facet_counts->facet_fields->{$suggestConfig['suggestField']}
is always an empty array.Thank you in advance!
Best regards!
The text was updated successfully, but these errors were encountered: