| commit | d15d03bd4e3074f7b5780afd06ab0f2c2b885829 | [log] [tgz] |
|---|---|---|
| author | Julie Qiu <julie@golang.org> | Wed Jul 28 08:10:18 2021 -0400 |
| committer | Julie Qiu <julie@golang.org> | Thu Jul 29 14:05:57 2021 +0000 |
| tree | 23a267168df23622a9705f2c985847c8d9069574 | |
| parent | 4368638bc80c14a7930b69f19431df8d44707eac [diff] |
internal/postgres/symbolsearch: add new queries The symbolsearch queries are rewritten to first fetch the matching symbol ids, then use these as input to the search query. Compared to using CTEs, this performed significantly better (on the order of 1-2s, sometimes minutes). For golang/go#44142 Change-Id: I4703995b3f7f6423c8d424d908eb0ad6cdb87a92 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/338051 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.