I’m working on a project where I downloaded the MusicBrainz dumps for release-groups and artists to build my own local database. I would like to implement a sorting by popularity similar to the one used in the MusicBrainz search results, where more popular release-groups appear first.
I couldn’t find any documentation about how this popularity ranking is calculated.
Could anyone provide more information on:
How MusicBrainz defines or measures popularity for release-groups?
Which tables or fields in the dumps are relevant for reproducing this ranking?
Any recommended approach for implementing a similar sorting in a local database?
IIUC for release groups it prefers ones with more releases inside them. It’s not as big a difference as for other kinds of entities, for example artists, where preferring the ones with more releases and the like can make a large difference, or areas, where we prioritise the ones with more artists, places and the like.
In my experience there is no sorting. “1999” by Prince has 37 releases in the group, but is entry #76 (after many groups with fewer releases) when searching for release groups “1999”. Even searching “Purple Rain” (synonymous with “Prince”), the Prince RG is ranked #20/20 of all groups with this exact name.