diff options
| author | Julie Qiu <julie@golang.org> | 2021-06-21 22:14:47 -0700 |
|---|---|---|
| committer | Julie Qiu <julie@golang.org> | 2021-07-13 16:25:53 +0000 |
| commit | 01e3e3198312fe6a30cf012b4d06bee6872f7ef8 (patch) | |
| tree | 9c428b93e79c66f32ce60359c5af017d22c38392 /internal/postgres/insert_module_test.go | |
| parent | dc9c142d58befdeecd17ab5e34326c49059e2ed0 (diff) | |
| download | go-x-pkgsite-01e3e3198312fe6a30cf012b4d06bee6872f7ef8.tar.xz | |
internal/postgres: change upsertSymbolSearchDocuments query
The upsertSymbolSearchDocuments query is changed to filter on module
path and version, instead of passing an array of unit_ids.
Additional tests are added to TestSymbolSearch.
For golang/go#44142
Change-Id: Ic0c493711c2c8fcc32e207ea466c509e6f99209b
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/329924
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>
Diffstat (limited to 'internal/postgres/insert_module_test.go')
0 files changed, 0 insertions, 0 deletions
