Changes

Jump to navigation Jump to search
323 bytes added ,  16:51, 26 August 2020
Line 88: Line 88:     
Based on the users preferences and the "match" key of the Product Attributes, apps can exclude some results (e.g. if a mandatory requirement is not fully met) and re-rank search results.
 
Based on the users preferences and the "match" key of the Product Attributes, apps can exclude some results (e.g. if a mandatory requirement is not fully met) and re-rank search results.
 +
 +
Sample algorithm to compute a user defined sort key:
 +
 +
* for each requirement in user preferences
 +
** if requirement is mandatory, score = score + match * 3
 +
*** and exclude product is match is less than 20%
 +
** if requirement is very important, score = score + match * 2
 +
** if requirement is important, score = score + match
    
=== Information and recommendations ===
 
=== Information and recommendations ===

Navigation menu