Likes as Ratings
Last modified by Eleni Cojocariu on 2026/08/12 16:21
Content
Explanation
Like has no store of its own: it delegates to the Ratings API and drives it through a RatingsConfiguration Component of its own, registered under the like hint in LikeRatingsConfiguration. A like is a Rating whose vote is 1, and the settings of that Component are what turn a generic rating into a like.
| Ratings setting | Value for Like | Consequence |
|---|---|---|
| Scale upper bound | 1 | A like has no degree: it exists or it does not. |
| Zero votes stored | No | Unliking deletes the Rating instead of storing a vote of 0, so counting Ratings is exactly counting likes. |
| Ratings storage | solr | Likes live in Solr, not in an xobject on the liked page. |
| Dedicated Solr core | No | Likes share the ratings core with every other rating and are told apart by their like manager id. |
| Average rating stored | No | The Like API never reads an average. This is the only setting you can change. |
| Excluded references | None | Any entity can be liked. |
Because likes are kept in Solr, the extension declares the {root} namespace and has to be installed for the whole farm rather than on a single wiki.