docs(docs/ai-coder/agents): document the chat search: full-text filter - #28474
Merged
f0ssel merged 3 commits intoAug 25, 2026
Merged
Conversation
Contributor
Docs previewCheck off each page once it's been reviewed. If a page changes in a later push, its checkbox clears automatically so it gets a fresh look. Pages not yet wired into the docs navigation aren't listed here. |
Member
Author
|
Relies on #28319 being merged first to stay accurate. |
f0ssel
marked this pull request as ready for review
August 24, 2026 17:51
johnstcn
approved these changes
Aug 24, 2026
f0ssel
deleted the
garrett/codagt-727-chat-search-documentation-and-release-notes
branch
August 25, 2026 13:09
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents the
search:full-text filter indocs/ai-coder/agents/chat-search-syntax.mdand drafts the release notes copy for chat history search.Describes
mainplus #28319, which must merge first: stemming and stopword removal apply to message content only; titles and PR titles keepsimplewhole-word matching. All claims verified against the implementation. Two statements in CODAGT-727 were inaccurate and are documented as the code behaves:TestListChats_Search/NoSearchableWordsReturnsEmpty). HTTP 400 covers only an emptysearch:value, unsupported keys, bare terms, or combiningsearch:withtitle:,pr_title:, orpr:(coderd/searchquery/search.go).GetChats,listChats). Ordering is pinned first, then most recently updated.Also verified: message bodies are indexed by the dbpurge sweep (10-minute tick, up to 5 x 10,000 rows, newest first) while titles and PR titles are searchable immediately; numeric values match exact PR numbers;
title:,pr_title:, andrepo:retainILIKEsemantics.pnpm run format-docsandpnpm run lint-docspass.Closes CODAGT-727
Release notes draft
Chat history search
You can now search your chat history by what was said, not just by title. The chat list
qparameter accepts a newsearch:filter that performs full-text search across chat titles, pull request titles, PR numbers, and message content, for example?q=search:"kubernetes restart". Matching is case-insensitive and supports quoted phrases,OR, and-negation. Message content additionally matches English word stems (refactorfinds a message containingrefactoring).search:cannot be combined with thetitle:,pr_title:, orpr:filters; the existing substring filters are unchanged.Upgrading with existing chat history: the message search index is populated by a background job (every 10 minutes, up to 50,000 messages per run, newest first). Upgrades are not blocked, and chat reads and writes are unaffected while the index fills. Older messages appear in search results progressively; messages indexed before the stemming upgrade match exact word forms until re-indexed. Titles and PR titles are searchable immediately.
🤖 This PR was generated by Coder Agents on behalf of @f0ssel.