Group Computed Field provides a computed field on entities that can be related to Groups in the Group module.

The main purpose for this is to allow for entities to be related to and filtered by their groups easily in indexes through Search API.