How to boost terms in product search
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!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
How to boost terms in product search
Hi,
we have < 10.000 products but we'd like to boost certain search terms.
eg. Search for "A B C"
-> in the results list: B should always be on top (before A, C)
AFAIK Aimeos standard search does not support such optimisation - so we have to use Solr or Elasticsearch - right?
There is an extension for Solr, but for TYPO3.
Do I need it and does it also work for Laravel?
Do you have a recommendation as to whether Solr or Elasticsearch is more suitable for this requirement?
Thank you!
we have < 10.000 products but we'd like to boost certain search terms.
eg. Search for "A B C"
-> in the results list: B should always be on top (before A, C)
AFAIK Aimeos standard search does not support such optimisation - so we have to use Solr or Elasticsearch - right?
There is an extension for Solr, but for TYPO3.
Do I need it and does it also work for Laravel?
Do you have a recommendation as to whether Solr or Elasticsearch is more suitable for this requirement?
Thank you!
Re: How to boost terms in product search
Every product has a "boost" number, which you can set, does that work for you?
Re: How to boost terms in product search
I could not find any documentation on this. How or where can the boost number be set?
as a ‘hidden attribute’?
as a ‘hidden attribute’?
Re: How to boost terms in product search
The boost factor can be set in the product in the administration.
When you are in the product "Basic tab", you need to expand the panel under "Label".
In that panel you should have a "Boost factor" for boosting product in the search results.
I think you should also be able to import products with the boost factor by adding the tag <product.boost> to the <productitem> in the XML.
When you are in the product "Basic tab", you need to expand the panel under "Label".
In that panel you should have a "Boost factor" for boosting product in the search results.
I think you should also be able to import products with the boost factor by adding the tag <product.boost> to the <productitem> in the XML.
Re: How to boost terms in product search
Updated documentation: https://aimeos.org/docs/latest/manual/product-details/
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: How to boost terms in product search
Found it - thanks!
Should this already work in aimeos 2023.10?
It is in the 2024 documentation, but the setting (in product > basic) is already available in 2023
Tried with different values (1.9 - 99) but no effect on the search results.
executed:
php artisan aimeos:jobs index/rebuild
php artisan aimeos:jobs index/optimize
We are using catalog/lists/sort = 'code'
Would this still work with "boost" function?
Should this already work in aimeos 2023.10?
It is in the 2024 documentation, but the setting (in product > basic) is already available in 2023
Tried with different values (1.9 - 99) but no effect on the search results.
executed:
php artisan aimeos:jobs index/rebuild
php artisan aimeos:jobs index/optimize
We are using catalog/lists/sort = 'code'
Would this still work with "boost" function?
Re: How to boost terms in product search
Yes, it also works with 2023.10
No, it only works if the result set is sorted by relevance in a full text search. With your default sorting, you can't boost any products obviously
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star