x/pkgsite: standard library packages should be prioritized in search results #41369
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
Milestone
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
What did you do?
searched
http Request
andnet/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#Requestmore 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).
The text was updated successfully, but these errors were encountered: