No Code Attached Yet
avatar onki69
onki69
9 Dec 2024

Is your feature request related to a problem? Please describe.

On my current 5.2.2. installation I was using the old search feature. After changing to the new smartsearch (index based) search some content is no longer found with the "exact word" setting. In my text there is "bluetooth-audio" mentioned on some articles. When using "bluetooth" as search item these articles cannot be found. Only when changing to "word contain item" (sorry I am using the German Joomla translation) the articles are found. But with this setting the search will give too many unwanted search results so I am more happy with the more strict settings.

Describe the solution you'd like

To be able to find words that are separated with a hyphen it would be useful to have an option to treat a hyphen as a blank so that e.g. "bluetooth-audio" will be indexed as "bluetooth" and "audio" so articles with this word will be found when either "bluetooth" or "audio" are used as search word.

Additional context

avatar onki69 onki69 - open - 9 Dec 2024
avatar joomla-cms-bot joomla-cms-bot - change - 9 Dec 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 9 Dec 2024
avatar chmst
chmst - comment - 13 Dec 2024

This is a language specific thing (German). I do not think that we should have an extra option.
@Hackwar

avatar brianteeman
brianteeman - comment - 13 Dec 2024

Dont know what it does but does this option help?

Image

avatar Hackwar
Hackwar - comment - 13 Dec 2024

I've been considering adding this library https://github.com/nitotm/efficient-language-detector to detect the right language and then to replace that option with just a switch to use stemmer or not.

avatar Hackwar
Hackwar - comment - 13 Dec 2024

Scrap that. I just looked at the library a little bit closer and it is way to resource intensive to add this. Bummer.

avatar mrownicki
mrownicki - comment - 16 Dec 2024

I add some comment, because i using Smart Search very often.
Generally smart search is not refined.
Basic settings are wrong.
And too complicated.
Because the priority should always be the TITLE of the article, then the content.

What is the importance and there are cases that it has to look for the expression at the beginning. An expression is an expression. It doesn't matter if it is one word or 5 words.
It should be as simple as possible and meet 90% of the conditions for an ordinary person to start with.
Then switch to advanced mode and I can set it the way I want.

At this point, each time you have to switch to a higher priority to make the Title.
It doesn't matter whether it is a page about books, events, or a simple article database.
I always have to switch it up to get better results.

The most important keyword is almost always in the title. It doesn't matter if it's search or SEO.

Simple example:

Filter numeric is off
This is title article Bezdzień [2024]
Examaple:
I looking:
Bezdzień [2024]
Nothing results.
Bezdzień 2024
Nothing results.
"Bezdzień [2024]"
Nothing results."
"Bezdzień 2024"
Nothing results.

Maybe problem is in Polish lang. "ń" nope.
This same situation is to term Pulsar 2849 or "In land we trust" - Armenia

Change setting match word it doesn't change things.

On the administration smart search found no problem. Article is indexed.

Regards.

avatar brianteeman
brianteeman - comment - 16 Dec 2024

The default index priority is

Image

Add a Comment

Login with GitHub to post a comment