Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/pkgsite: search doesn't find "std" #63454

Open
rothskeller opened this issue Oct 9, 2023 · 3 comments
Open

x/pkgsite: search doesn't find "std" #63454

rothskeller opened this issue Oct 9, 2023 · 3 comments

Comments

@rothskeller
Copy link

rothskeller commented Oct 9, 2023

What is the URL of the page with the issue?

https://pkg.go.dev/search?q=std

What is your user agent?

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

Screenshot

What did you do?

Searched for "std".

What did you expect to see?

The standard library page, with the list of packages in the standard library, should be listed in the search results. By strong preference, it should be the first search result.

Admittedly, the standard library is not a package named std. But Its page has the address pkg.go.dev/std, and it's not unreasonable to search for std and expect to find it.

What did you see instead?

A bunch of third party packages with "std" in the name, but not the standard library.

@gopherbot gopherbot added this to the Unreleased milestone Oct 9, 2023
@mvdan
Copy link
Member

mvdan commented Oct 9, 2023

Perhaps related to #59495.

@mvdan
Copy link
Member

mvdan commented Oct 9, 2023

Also worth noting that https://pkg.go.dev/std exists; I find it surprising that it's not the first result, or an immediate redirect, when searching for std. cc @golang/pkgsite

@adonovan
Copy link
Member

cc: @jba

@ansaba ansaba modified the milestones: Unreleased, pkgsite/unplanned Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants