This PR simplifies the ranking of game results, and thus makes them better.
Previously, Games with multiple matches got a boost in ranking, so that a "super mario" search would rank "Super Mario Super Mario" higher than the exact match "Super Mario", among other things.
Now, it uses ToStripped() to remove the information of how often it matched.
Also, the Aliases and Abbreviations are not taken into account in the ranking anymore. It worked against our favor, because many many metadata meant that it ranked lower, because a lot of the metadata didn't match.
The Where condition remains unchanged, so this PR doesn't change what is shown, only how it is ranked.
This PR simplifies the ranking of game results, and thus makes them better.
Previously, Games with multiple matches got a boost in ranking, so that a "super mario" search would rank "Super Mario Super Mario" higher than the exact match "Super Mario", among other things. Now, it uses
ToStripped()
to remove the information of how often it matched.Also, the Aliases and Abbreviations are not taken into account in the ranking anymore. It worked against our favor, because many many metadata meant that it ranked lower, because a lot of the metadata didn't match.
The
Where
condition remains unchanged, so this PR doesn't change what is shown, only how it is ranked.Before | After
![image](https://github.com/TASVideos/tasvideos/assets/22375320/87a65c6e-1ed4-4db9-9f3c-ea053c27e95c)