golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
124.24k stars 17.7k forks source link

x/pkgsite: search algorithm doesn't find similarly named packages #37783

Open katiehockman opened 4 years ago

katiehockman commented 4 years ago

What is the URL of the page with the issue?

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

What did you do?

Searched for blake2 at pkg.go.dev

What did you expect to see?

Search results which included both https://pkg.go.dev/golang.org/x/crypto/blake2b and https://pkg.go.dev/golang.org/x/crypto/blake2s

What did you see instead?

Search results that did not include those packages

It looks like the search isn't finding similarly named packages. In this case, I knew there were two blake2-related packages in x/crypto, but when I searched for "blake2", neither of the similarly named blake2s or blake2b packages were in the results

katiehockman commented 4 years ago

/cc @julieqiu @jba

julieqiu commented 4 years ago

Thanks for the feedback! This is related to #36806.