I had a quick search around and couldn't find any specific mentions/wiki/docs on the algorithm used when compiling and ranking search results. Apologies if this is covering old ground.
I was searching for the new go/packages (full import path is golang.org/x/tools/go/packages:
The results returned appear to be strictly ranked by number of imports, hence (for now) go/packages appears as the 31st result. This despite the fact that the search term is a substring of the import path.
Indeed I'm not entirely clear why testing appears as the first result because it appears to be entirely unrelated to go/packages.
Can someone shed some light on what's going on here?
I had a quick search around and couldn't find any specific mentions/wiki/docs on the algorithm used when compiling and ranking search results. Apologies if this is covering old ground.
I was searching for the new
go/packages
(full import path isgolang.org/x/tools/go/packages
:https://godoc.org/?q=go%2Fpackages
The results returned appear to be strictly ranked by number of imports, hence (for now)
go/packages
appears as the 31st result. This despite the fact that the search term is a substring of the import path.Indeed I'm not entirely clear why
testing
appears as the first result because it appears to be entirely unrelated togo/packages
.Can someone shed some light on what's going on here?
Thanks