HomePhabricator

Use max( |sitelinks|, |labels| ) for term weight.

Authored by daniel.

Description

Use max( |sitelinks|, |labels| ) for term weight.

Considering the number of labels for the term weight boosts
the ranking of items that have no/few sitelinks, but many labels.
This may be true for "structural" items like Q6581097, which
have no corresponding wikipedia pages.

Bug: T94404
Change-Id: I17ad13eb0496e5c90cf6c47749aa5523c1954728

Details