Page 1 of 1
About fuzzy search function.
Posted: Mon Jun 17, 2024 5:33 pm
by HAO
I own a store with Taiwanese traditional Chinese characters.
For Taiwanese stores, we are used to entering two related keywords at the same time.
Just like this product name:
機車工廠 野狼傳奇 傳狼 野狼 狼R 125 / 150 化油器總成 化油器 化油氣 SANYANG 正廠零件
If I were to do an efficient search, I would hope that I only need to enter these two keywords to find related products:
野狼 化油器
But the default OpenCart seems to only search complete keywords:
機車工廠 野狼傳奇 傳狼 野狼 狼R 125
Or
150 化油器總成 化油器 化油氣 SANYANG 正廠零件
This is impractical for Taiwan’s usage habits, Is there a possible solution?
Re: About fuzzy search function.
Posted: Mon Jun 17, 2024 6:57 pm
by nonnedelectari
HAO wrote: ↑Mon Jun 17, 2024 5:33 pm
I own a store with Taiwanese traditional Chinese characters.
For Taiwanese stores, we are used to entering two related keywords at the same time.
Just like this product name:
機車工廠 野狼傳奇 傳狼 野狼 狼R 125 / 150 化油器總成 化油器 化油氣 SANYANG 正廠零件
If I were to do an efficient search, I would hope that I only need to enter these two keywords to find related products:
野狼 化油器
But the default OpenCart seems to only search complete keywords:
機車工廠 野狼傳奇 傳狼 野狼 狼R 125
Or
150 化油器總成 化油器 化油氣 SANYANG 正廠零件
This is impractical for Taiwan’s usage habits, Is there a possible solution?
Difficult as search generally splits the search term up by spaces and chinese generally doesn't use spaces between characters.
Best middle way would be to enter the eligible reach terms like "野狼 化油器" as product tags and search would find those.
Re: About fuzzy search function.
Posted: Mon Jun 17, 2024 7:06 pm
by nonnedelectari
nonnedelectari wrote: ↑Mon Jun 17, 2024 6:57 pm
HAO wrote: ↑Mon Jun 17, 2024 5:33 pm
I own a store with Taiwanese traditional Chinese characters.
For Taiwanese stores, we are used to entering two related keywords at the same time.
Just like this product name:
機車工廠 野狼傳奇 傳狼 野狼 狼R 125 / 150 化油器總成 化油器 化油氣 SANYANG 正廠零件
If I were to do an efficient search, I would hope that I only need to enter these two keywords to find related products:
野狼 化油器
But the default OpenCart seems to only search complete keywords:
機車工廠 野狼傳奇 傳狼 野狼 狼R 125
Or
150 化油器總成 化油器 化油氣 SANYANG 正廠零件
This is impractical for Taiwan’s usage habits, Is there a possible solution?
Difficult as search generally splits the search term up by spaces and chinese generally doesn't use spaces between characters.
Best middle way would be to enter the eligible reach terms like "野狼 化油器" as product tags and search would find those.
besides, if you have a space between keywords, default search in OC is keyword AND keyword :
Code: Select all
if ($implode) {
$sql .= " " . implode(" AND ", $implode) . "";
}
you might consider changing that to OR.
Re: About fuzzy search function.
Posted: Mon Jun 17, 2024 10:51 pm
by HAO
Using spaces is required for Taiwan stores, Because the ultimate goal is to allow the complete product name to be individually searched for multiple matching search results.
Product name:
機車工廠 野狼傳奇 傳狼 野狼 狼R 125 / 150 化油器總成 化油器 化油氣 SANYANG 正廠零件
Search:
狼 化油器
or
野狼 化油器總成
No suitable search module?
Re: About fuzzy search function.
Posted: Fri Jun 21, 2024 11:13 pm
by nonnedelectari
HAO wrote: ↑Mon Jun 17, 2024 10:51 pm
Using spaces is required for Taiwan stores, Because the ultimate goal is to allow the complete product name to be individually searched for multiple matching search results.
Product name:
機車工廠 野狼傳奇 傳狼 野狼 狼R 125 / 150 化油器總成 化油器 化油氣 SANYANG 正廠零件
Search:
狼 化油器
or
野狼 化油器總成
No suitable search module?
Using spaces is required for Taiwan stores? what is that about?
If that is your product name and those are the search terms, they should show, they work like that on our traditional chinese site.
Re: About fuzzy search function.
Posted: Sun Jun 23, 2024 12:31 am
by HAO
What my boss needs is like using Google Translate, Regardless of whether there are spaces or hyphens, as long as the search keyword matches, it needs to be listed. (Full-text search)
Because the usage habit in Taiwan is that there is no need to distinguish the order of words. As long as there are matching words, we need to list them.
Re: About fuzzy search function.
Posted: Mon Jun 24, 2024 9:39 am
by halfhope
Hi!
You may use Manticore search engine for this purposes. But it requires vps/vds and integration into your store.