Rank the newest version of a module in a series of modules, higher than older ones (i.e. mvdan.cc/sh/v3/syntax should be high up in the search results)
As a broad heuristic to feed into the overall ranking algorithm, this feels sensible.
Also in the case of searching for sh, I'm seeing mvdan.cc/sh/syntax as the third result, and mvdan.cc/sh/interp as the fourth. Are those results ones that you would expect?
@mvdan will confirm, but, given the previous point, I would have expected to see mvdan.cc/sh/v3/syntax above mvdan.cc/sh/syntax, i.e. the later module version's packages ranking higher than the earlier
Whilst we are here, searching for mvdan.cc/sh/v3 seems to rank non-v3 packages above v3 packages:
Another unfortunate query is https://pkg.go.dev/search?q=gio, where I would expect the gioui.org module and packages to come near the top. However, the first appearance is on page 3, for the gioui.org/ui package: