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: standard library packages should be prioritized in search results #41369

Open
jzacsh opened this issue Sep 13, 2020 · 2 comments
Open
Assignees
Labels
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

Comments

@jzacsh
Copy link

jzacsh commented Sep 13, 2020

What is the URL of the page with the issue?

https://pkg.go.dev/search?q=net%2Fhttp+Request

What is your user agent?

chromeos (Mozilla/5.0 (X11; CrOS x86_64 13099.102.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.127 Safari/537.36)

Screenshot

Screenshot 2020-09-13 at 16 14 07

What did you do?

searched http Request and net/http Request and both shows similar results not highlighting the std library.

What did you expect to see?

net/http package should have been a top result for both queries. for my exact query in particular, i was trying to land here: https://pkg.go.dev/net/http?tab=doc#Request

more generally maybe anything with a match in https://pkg.go.dev/std?tab=packages should be ranked higher?

What did you see instead?

only non-standard lib packages on the first page of results.


for the person that triages this report: I looked in https://github.com/golang/go/milestone/164 and didn't see this bug, but similar asks: #40785 #40622 #40311 (and #40311 one's perhaps a better, more general ask, but ... maybe not. std library feels particularly important regardless of how widely used it is).

@gopherbot gopherbot added this to the Unreleased milestone Sep 13, 2020
@ALTree ALTree added pkgsite NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Sep 14, 2020
@ALTree ALTree modified the milestones: Unreleased, pkgsite/search Sep 14, 2020
@julieqiu julieqiu removed the website label Sep 19, 2020
@julieqiu julieqiu removed the website label Sep 19, 2020
@errhandler
Copy link

Searching for 'regex' doesn't even return the standard library 'regexp' package in the first 100 results.

@Deleplace
Copy link
Contributor

I'm reporting #64358 for a specific subset of this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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
Projects
None yet
Development

No branches or pull requests

8 participants