on ‎2018 Aug 16 3:41 PM
Hi,
I want to customize BoostSearchQueryPopulator, which will allow to boost only 200 products. As in this class we have maxHeroProductBoost, i just want to override that to increase the value.
Please let me know the steps.
Request clarification before answering.
Hi SMK, If I understand your question correctly, you need to update the property maxBoostFactorValue of BoostRuleValidator defined in commercesearch-spring.xml; maxHeroProductBoost is for Hero Products which appear before any of the other boosted products(boosted using a boost rule). You may be aware that the sum of all boost factors from different boost rules should not exceed 5000. If this threshold is exceeded and the product is later promoted to the Hero product status next to another Hero product without boosts, the order of the Hero products may be incorrect. The reason for this possible incorrectness is that 5000 is also the default boost factor used to position Hero products above one another. Hope this helps!
Cheers, Sapna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.