personalization
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
personalization [2019/05/27 18:01] florian [How to apply boosts] |
personalization [2019/05/28 15:35] florian [How to apply boosts] |
||
---|---|---|---|
Line 54: | Line 54: | ||
A constant factor of 1 is added to the weight, this value is then multiplied with the score of every matching result. The weight may be any non-negative number, where: | A constant factor of 1 is added to the weight, this value is then multiplied with the score of every matching result. The weight may be any non-negative number, where: | ||
+ | * ''weight<0'' means a //decreased score//. | ||
* ''weight=0'' means that the resulting //score will stay the same// ((score*(0+1) = score.)) | * ''weight=0'' means that the resulting //score will stay the same// ((score*(0+1) = score.)) | ||
* ''weight>0'' means an //increased score//. | * ''weight>0'' means an //increased score//. | ||
Line 61: | Line 62: | ||
For example ''pushAttrib[gender][female]=5.0'' will multiply the scores of all results matching the attribute ''gender=female'' by a factor of **5+1 = 6**. | For example ''pushAttrib[gender][female]=5.0'' will multiply the scores of all results matching the attribute ''gender=female'' by a factor of **5+1 = 6**. | ||
- | Negative values will push products to the end of the productlisting. | + | Negative values will push products down to the end of the productlisting. |
**We recommend using weights between -0.9 and 3.** | **We recommend using weights between -0.9 and 3.** |