[pkgsite] internal, cmd: integrate vector search into frontend

0 views
Skip to first unread message

Gopher Robot (Gerrit)

unread,
Aug 6, 2026, 11:47:17 AM (4 days ago) Aug 6
to Ethan Lee, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Jonathan Amsterdam, kokoro, golang...@luci-project-accounts.iam.gserviceaccount.com, golang-co...@googlegroups.com

Gopher Robot submitted the change

Change information

Commit message:
internal, cmd: integrate vector search into frontend

- Insert embedding client into fetchSearchPage so that each user query
will have an embedding generated. This embedding will be utilized to
search the DB for corresponding results.
- This feature is guarded by the EnableVectorSearch flag.
Change-Id: I548ee12daad9f7916b6937a63699ae2bddd32024
kokoro-CI: kokoro <noreply...@google.com>
Auto-Submit: Ethan Lee <etha...@google.com>
Reviewed-by: Jonathan Amsterdam <j...@google.com>
Files:
  • M cmd/frontend/main.go
  • M cmd/worker/main.go
  • M internal/embeddings/embeddings.go
  • M internal/embeddings/embeddings_test.go
  • M internal/frontend/search.go
  • M internal/frontend/search_test.go
  • M internal/frontend/server.go
Change size: M
Delta: 7 files changed, 136 insertions(+), 19 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: pkgsite
Gerrit-Branch: master
Gerrit-Change-Id: I548ee12daad9f7916b6937a63699ae2bddd32024
Gerrit-Change-Number: 802280
Gerrit-PatchSet: 15
Gerrit-Owner: Ethan Lee <etha...@google.com>
Gerrit-Reviewer: Ethan Lee <etha...@google.com>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
Gerrit-Reviewer: kokoro <noreply...@google.com>
Gerrit-CC: kokoro <noreply...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages