Repository navigation
Treat underscores in thread search like other word breaks - #5038
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Human comments
What was wrong
Server thread search kept
_inside a query word, sofoo_barbecame the full-text phrase "foo" then "bar". ⌘K's title check, and the search index itself, treat_as a word break. As a result, ⌘K could move a thread into its title-match section when the server had ranked it as a message-only match, and a title with both words apart, like "Search the thread list" forthread_search, wasn't found at all.What changed
_the same way it splits on spaces and hyphens.thread_searchfinds threads containing both "thread" and "search", ranking titles with both words first.How you verified
thread_searchranks "Search the thread list" first and highlights both words. Today's code doesn't find that title at all.thread_searchtreats "Search the thread list" as a title match, the same as the server.Follows #5003 and #4962.
BB-Thread: ⌘K improvements
🤖 Generated with Claude Code