mirror of
https://github.com/rehan-remade/universal-modder.git
synced 2026-11-05 01:37:40 +00:00
[PR #244] [MERGED] kb search: a quoted multi-word query also matches notes with all of its words #247
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rehan-remade/universal-modder#247
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rehan-remade/universal-modder/pull/244
Author: @aetherna1111-glitch
Created: 10/11/2026
Status: ✅ Merged
Merged: 10/12/2026
Merged by: @rehan-remade
Base:
main← Head:feat/kb-search-split-quoted-queries📝 Commits (4)
8df4689kb search: a quoted multi-word query also matches notes with all of its words0f9b149tests: the new kb search test in its own file1c12548kb search: say that unquoted arguments stay OR-ed, and test it4b1ecaeMerge remote-tracking branch 'origin/main' into land/pr-244📊 Changes
3 files changed (+41 additions, -1 deletions)
View changed files
📝
knowledge/README.md(+1 -0)➕
tests/test_kb_search_quoted.py(+20 -0)📝
um/kb.py(+20 -1)📄 Description
What: A quoted multi-word query (
um kb search "grand theft auto") also finds notes that contain all of its words apart; the exact phrase still ranks first. Test included (in its own file).Checklist
um kb checkpasses (field notes) /uv run --with pytest pytest -q testspasses (code)um kb indexregenerated (field notes) — not applicable, no note changed🤖 Generated with Claude Code
https://claude.ai/code/session_01KKNUp8RuduYreNsFM6rvZg
Generated by Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.