x/pkgsite: searching for modules isn't supported #36814
Labels
FeatureRequest
Issues asking for a new feature that does not need a proposal.
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
pkgsite/search
Issues related to pkg.go.dev search functionality
pkgsite
UX
Issues that involve UXD/UXR input
Milestone
The current search functionality works on packages alone. That's fine, and useful - but quite limited in the module world.
For example, when I visit https://pkg.go.dev/search?q=sh, I'd expect to see https://pkg.go.dev/mod/mvdan.cc/sh/v3. Particularly since the query string is an exact match with the basename of the module path.
However, because it happens to not be a Go package, it doesn't show up at all as neither a module nor a package. A few sub-packages show up later, but they are scattered, and aren't nearly as useful.
I see two ways this could be addressed:
is:module
. Think like GitHub search, where you can search for both issues and PRs at once, but then trim it down viais:issue
.I think 1 is far better, since most people will just use the default search page, leaving out many of their potentially useful results hidden away.
The text was updated successfully, but these errors were encountered: