The respective page of the website is displayed.
Joomla 5.0.3
PHP 8.2.2
MySQL 8.0.33
Labels |
Added:
No Code Attached Yet
|
@brianteeman
Do you have an idea why "joomla 4" produces such a long string, while "joomla 51" makes a relatively short one?
Change Smart Serach configuration. Change "Word Match" to "Match exactly".
It happens because you have set "Word Match" to "Match words containing the search term anywhere".
And this produce huge result while searching for 4
joomla-cms/administrator/components/com_finder/src/Indexer/Query.php
Lines 1262 to 1266 in f8003bc
Labels |
Added:
bug
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-02-29 10:52:46 |
Closed_By | ⇒ | Fedik |
The bug affects both 4.x and 5.x,
After fixing 4.x it will be upmerged to 5.x
Under J4.4, the behaviour is different from what I've seen in J5.0:
Without or with the patch applied:
Under 5.0, I get the error described above.
I think you have a different configuration for Smart search for j4 and j5.
The error will not happen on default installation, with default parameters.
Only when you change them. Check my previous comments (#42889 (comment)), or the description in the linked PR.
I have set the Smart Search configuration as described in your testing instructions. And "Word Match" is set to exactly this option on my faulty site.
Another reason that your test installation for j4 has less amount of content than my.
the long string in the url is a base64 decoded string of the terms to highlight on the page.