No Code Attached Yet
avatar nozaro33
nozaro33
15 Jun 2021

Steps to reproduce the issue

I'm not sure if this issue is specified toward Chinese, but Joomla Smart Search produces different results if I use the english language tag at end of URL, see example below:

https://zerowastetraveldiary.com/finder?q=%E9%9B%A8%E6%B0%B4%E5%9B%9E%E6%94%B6&l=en
https://zerowastetraveldiary.com/finder?q=%E9%9B%A8%E6%B0%B4%E5%9B%9E%E6%94%B6

https://zerowastetraveldiary.com/finder?q=%E7%92%B0%E4%BF%9D&l=en
https://zerowastetraveldiary.com/finder?q=%E7%92%B0%E4%BF%9D

I encountered a similar issue with J4, but was ignored as Chinese wasn't an available language at that time

Expected result

Results should be the same

Actual result

Results are different

System information (as much as possible)

Joomla 3.9.27
MYSQL 5.6.39
PHP 7.4.2

Additional comments

Maybe this is by design? if so than please close this issue!

avatar nozaro33 nozaro33 - open - 15 Jun 2021
avatar joomla-cms-bot joomla-cms-bot - change - 15 Jun 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 15 Jun 2021
avatar richard67
richard67 - comment - 15 Jun 2021

Ping @Hackwar

avatar richard67
richard67 - comment - 15 Jun 2021

It can be that it's intended behaviour because different languages might use different stemmers (if some). Waiting for @Hackwar to confirm or correct me.

avatar brianteeman
brianteeman - comment - 15 Jun 2021

Please go to the component options and disable the stemmer and see if you still get the same incorrect results

image

avatar nozaro33
nozaro33 - comment - 15 Jun 2021

Hi @brianteeman thanks for the tip, after disabling stemmer it still produces the same incorrect results.

avatar brianteeman
brianteeman - comment - 15 Jun 2021

I didnt think it would make a difference but its good to confirm that it it is nothing to do with a stemmer

avatar Hackwar
Hackwar - comment - 17 Jan 2022

Simply said, this is by design, yes. Smart Search searches the index that is either marked as '*' (no specific language given) or the currently used language. If your content is set to be english and the site is using chinese, then it wont find any content that is specifically marked as english. Thus this can be closed as expected behavior.

avatar drmenzelit drmenzelit - change - 17 Jan 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-01-17 16:12:31
Closed_By drmenzelit
Labels Added: No Code Attached Yet
Removed: ?
avatar drmenzelit drmenzelit - close - 17 Jan 2022
avatar drmenzelit
drmenzelit - comment - 17 Jan 2022

Closing this as it is expected behavior

Add a Comment

Login with GitHub to post a comment