Product Search

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
Metalics
Advanced
Posts: 103
Joined: 13 Jul 2015, 23:59

Product Search

Post by Metalics » 24 Feb 2021, 18:57

Hello again,
We have many products with Code including "-" and "." characters. Product search plug-in finds a lot of related products when you enter product code including these characters.
I want the search plug-in to find only one product who has a code like "ABD-123.DEF" when i enter "ABD-123.DEF" search term. Is there any way to change any template for this behavior?

User avatar
aimeos
Administrator
Posts: 7882
Joined: 01 Jan 1970, 00:00

Re: Product Search

Post by aimeos » 26 Feb 2021, 08:34

If you don't have many products, you can use the Standard text index manager:
https://aimeos.org/docs/latest/config/m ... er/#name_5

Instead of the MySQL text index manager, it doesn't tokenize the strings and only finds exact matches.

But be aware that it will get extremely slow if you have a lot of entries in the mshop_index_text table because it can't use any index to speed up finding the products!
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply