product search

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
VirtualSpy
Advanced
Posts: 122
Joined: 05 Jul 2022, 07:55

product search

Post by VirtualSpy » 07 Feb 2023, 07:42

laravel version 9.48.0 , Aimeos version 2022.10.4 and PHP version 8.1.3 (Win)

product search is using =~ (string starts with) and ~= (string contains, slow!) so I want to change the operator but I could not understand from where it will change please help me change the operator of the product search.

Thanks in Advance

User avatar
VirtualSpy
Advanced
Posts: 122
Joined: 05 Jul 2022, 07:55

Re: product search

Post by VirtualSpy » 07 Feb 2023, 13:00

VirtualSpy wrote: 07 Feb 2023, 07:42 laravel version 9.48.0 , Aimeos version 2022.10.4 and PHP version 8.1.3 (Win)

product search is using =~ (string starts with) and ~= (string contains, slow!) so I want to change the operator but I could not understand from where it will change please help me change the operator of the product search.

Thanks in Advance
i have changed operator from ai-catsuggest package for product search suggestion.

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

Re: product search

Post by aimeos » 09 Feb 2023, 08:01

Product search for the frontend is done by the index manager using fulltext search, which doesn't use "=~" or "~=":
https://github.com/aimeos/aimeos-core/b ... rd.php#L61
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply