In the search results we see results that match on 'author' (content plugin) and also (I believe) on the menu item slug /item URL.
It would be great if we could have some settings in the content plugin (or component) to exclude matching on author name or article slug / URL.
On most of our sites the frontend users do not see the author of an article. But in on some sites this person is somehow relevant to the site and people might search on his/her name. To see if he or she is mentioned somewhere on the site. When someone searches on this name all articles created by this person are shown in the results. Even though the content does not contain the search term (persons name).
We could create custom plugins, and just change the things we want / don't want. But any future changes to the plugin (maybe bug fixes or new features) will be missed when we switch to a custom plugin. So I would to avoid this.
There are three possible solutions I think:
We also see results that are 'matched' on the item slug or some other way: The search term is present in the item URL and that makes the finder 'score' this article and show it as a result. Because maybe the menu item or category above the article menu item contains this search word. This creates a search result even when the title, article intro or text do nit contain the search term. So excluding this 'matching' on the article slug / URL would also be nice.
Maybe a different feature might also help: The search result all have some kind of weight. I imagine URL/slug and author information are rated 'lower' the article title of article text. Maybe adding an option to only show results with a minimal score (leaving ut lower scoring items) would also prevent unwanted (because: 'to many irrelevant') results.
I believe I have raised the 'author' issue before. But other then the suggestion to create my own plugins this was actualy dealt with. It's not a big issue, but I think this might make the search a bit more relevant for frontend users?
Labels |
Added:
?
|
Title |
|
Labels |
Added:
J4 Issue
|
No I don't think that does anything... When I disable 'author' an all names below this the results are still shown. And re-indexing also just turns them on again?
Status | New | ⇒ | Discussion |
And re-indexing also just turns them on again?
Sorry only able to test in J4 and that's not the case their. The map stays unpublished
Depublishing the author items in the 'map' does not prevent the articles to be shown as results when the search term is in the author name. After re-indexing the Author mappings are published again.
If this is working in J4, and this can not be addressed in J3 anymore we will need to create a custom search plugin I guess. But I think / hope the J4 Smart Search will have some more granular settings. Not just disabling search in meta data like 'author' but also a way to not show results that have an very low score. But maybe this 'minimum score' might not be needed if we have some more control over what parts of an article to check for search terms.
Yes, it would be good to allow for more granularity. I had this on my todo list for the smart search plugins but didn't get to it. Now that we released the beta of 4.0, we have a feature freeze and I wouldn't push this in. We can add this in Joomla 4.1 and I would be happy if you could provide PR(s) for this.
Closing as having a pull request.
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-01-27 00:59:21 |
Closed_By | ⇒ | Quy | |
Labels |
Added:
No Code Attached Yet
Removed: ? |
Don't you just have to disable the author in the maps?