prmr / Creco

Recommendation System for Consumer Products
Apache License 2.0
6 stars 2 forks source link

[data] Product and Attribute sorting #15

Closed asutcl closed 10 years ago

asutcl commented 10 years ago

I suggest we add a score (or ranking) field to the Products and Attributes, make them comparable and them override the compareTo method to sort them according this score or ranking.

This way any controller manipulating the items could simply update the scores and then easily sort the items accordingly.

asutcl commented 10 years ago

We should probably also add an AttributeList class.

prmr commented 10 years ago

Please post further suggestions direction to Issue #2