Changes

Jump to navigation Jump to search
121 bytes added ,  17:58, 26 August 2020
Line 83: Line 83:  
=== Personalized search ===
 
=== Personalized search ===
   −
Users are being asked to enter preferences for each attribute (or a specific subset of attributes), for instance:
+
On the client, users are being asked to enter preferences for each attribute (or a specific subset of attributes), for instance:
    
* The product is vegetarian - [ ] Not important, [ ] Important, [ ] Very important, [ ] Mandatory.
 
* The product is vegetarian - [ ] Not important, [ ] Important, [ ] Very important, [ ] Mandatory.
Line 89: Line 89:  
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:
+
The filtering and ranking is done on the client, the preferences are not sent to the server.
 +
 
 +
Sample client-side algorithm to compute a user defined sort key:
    
* for each requirement in user preferences
 
* for each requirement in user preferences

Navigation menu