Product filter
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Product filter
Hello!
In the Catalog/Products list, if I search for something in the Label filter, the search engine searches only at the beginning of the text.
What is the easiest way to search in the middle of te text?
For example:
Keyword: "le12"
Label: Apple123
In the Catalog/Products list, if I search for something in the Label filter, the search engine searches only at the beginning of the text.
What is the easiest way to search in the middle of te text?
For example:
Keyword: "le12"
Label: Apple123
Re: Product filter
You can configure the "Standard" index manager instead of the "Mysql" one. MySQL offers full text search which is prefix based like in almost every performant search engine. The "Standard" index manager uses a LIKE-based search which will be painfully slow for more than ~1000 products because it can't use any database index, so use with extreme care!
Code: Select all
'mshop' => [
'index' => [
'manager' => [
'name' => 'Standard'
]
]
]
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
![Image](https://aimeos.org/fileadmin/aimeos.org/icons/star.png)
Re: Product filter
Thanks for the reply.
I set up what you wrote, but the admin still doesn't search in the middle of the texts.
I set up what you wrote, but the admin still doesn't search in the middle of the texts.
Code: Select all
'mshop' => [
'index' => [
'manager' => [
'text' => [
'name' => 'Standard'
]
]
],
'price' => [
'precision' => 0
]
],
Re: Product filter
It must be:
Code: Select all
'mshop' => [
'index' => [
'manager' => [
'name' => 'Standard'
]
]
]
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
![Image](https://aimeos.org/fileadmin/aimeos.org/icons/star.png)