Likes as Ratings

Last modified by Eleni Cojocariu on 2026/08/12 16:21

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 settingValue for LikeConsequence
Scale upper bound1A like has no degree: it exists or it does not.
Zero votes storedNoUnliking deletes the Rating instead of storing a vote of 0, so counting Ratings is exactly counting likes.
Ratings storagesolrLikes live in Solr, not in an xobject on the liked page.
Dedicated Solr coreNoLikes share the ratings core with every other rating and are told apart by their like manager id.
Average rating storedNoThe Like API never reads an average. This is the only setting you can change.
Excluded referencesNoneAny 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.

Related

Get Connected