Skip to content
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

Problem with the search for words with hyphen #10

Open
NatalieKH opened this issue Aug 16, 2023 · 1 comment
Open

Problem with the search for words with hyphen #10

NatalieKH opened this issue Aug 16, 2023 · 1 comment

Comments

@NatalieKH
Copy link

Very good extension, thank you very much. Unfortunately there is a problem in the backend. No matter in which search in the backend (e.g. main search, search on page by record, search in 'selectMultipleSideBySide'), unfortunately you can no longer search for the complete word. This is not found if hyphens have been inserted. You can then only search for the syllables, which is difficult and incomprehensible for the editors. Would it be possible to search for the complete words again, even if the words have hyphens?

@TschePat
Copy link
Collaborator

Hello NatalieKH,

I'm glad to hear that my extension is useful and thanks for this tip, which I hadn't in mind before. I have thought a bit about this problem, but unfortunately there is probably no good technical solution for it that can be implemented directly in the extension. The occurrence of the soft hyphen is widely spread throughout various types of database fields, and so even the idea of using a dummy word that simply omits the special character to be found would throw up a number of unpredictable problems.

Dealing with the soft hyphen should normally be part of the searching process by handling the fuzziness in search terms, such as in faceted search or elastic search, both of which are capable of solving this problem. TYPO3's backend search is unfortunately quite rudimentary and not yet able to do this.

For the frontend this problem maybe could be solved by using the ke_search extension, which is based on faceted search and at least should theoretically be able to handle fuzziness, but I didn't tried that yet.

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

No branches or pull requests

2 participants