Skip to content

x/pkgsite: standard library packages should be prioritized in search results #41369

@jzacsh

Description

@jzacsh

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).

Metadata

Metadata

Assignees

Labels

NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.pkgsitepkgsite/searchIssues related to pkg.go.dev search functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions