we’re using SimpleSearch in our Neos Website and it works fine. Except that it finds only full words. For example: on the landing page there’s a text that contains “Markenkommunikation”. When I’m searching for “kommunikation” or “marken” this entry won’t be listed in the results. When I’m searching for “markenkommunikation” it will be found. I can’t find a setting for this “problem”. Maybe someone can help me?
That. It’s up to you to construct the respective query you need. SimpleSearch just provides the tools. It works with appropriate wildcards. What you seem to want is automatic stemming but that is not available with simple search but only elastic search. As suggested check if the search request contains a * already and if not add it to get the result you want.
How do I realise this with fusion? I managed to check if an asterisk exists at the end of the search word, with:
foo = ${String.endsWith(this.searchWord, '*')}
But how do I create a condition and add an asterisk if it’s missing? I’m failing on this one. I don’t know why but Fusion is too complicated for me, I don’t get it.
I still don’t get it and I think fusion is not the solution because if I’m able to adjust the search word it would be displayed in the frontend with the asterisk. But the asterisk should be used only for the search itself and not be displayed in the frontend.
How do I extend classes in Neos / Flow? I would like to extend the SqLiteQueryBuilder class of Flowpack\SimpleSearch\Search and adjust the