commit | 13ef9eb3550aa06a735c9c92975b2e69ace382ca | [log] [tgz] |
---|---|---|
author | Julie Qiu <julie@golang.org> | Thu Aug 19 13:10:07 2021 -0400 |
committer | Julie Qiu <julie@golang.org> | Thu Aug 19 21:47:47 2021 +0000 |
tree | 947927c46be18b1333820d1f9b8e1fbe153f0f5e | |
parent | 1c31e680809b8371bcf5f494b60c8fd5526a4769 [diff] |
internal/postgres/symbolsearch: update queries The symbol search queries are updated to ORDER BY imported_by_count and use the new idx_symbol_search_documents_symbol_name_imported_by_count index. symbol_name_id is removed as a sort clause, since it isn't possible for a single package to have more than 1 result per symbol, now that we don't allow searching by just field or method names. For golang/go#44142 Change-Id: Ifd061b0fbc5e4c4efccebe6de5d99038a3db1f17 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/343653 Trust: Julie Qiu <julie@golang.org> Run-TryBot: Julie Qiu <julie@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com>
Pkg.go.dev is a website for discovering and evaluating Go packages and modules.
You can check it out at https://pkg.go.dev.
If you want to report a bug or have a feature suggestion, please first check the known issues to see if your issue is already being discussed. If an issue does not already exist, feel free to file an issue.
For answers to frequently asked questions, see go.dev/about.
You can also chat with us on the #pkgsite Slack channel on the Gophers Slack.
We would love your help!
Our canonical Git repository is located at go.googlesource.com/pkgsite. There is a mirror of the repository at github.com/golang/pkgsite.
To contribute, please read our contributing guide.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.