Skip to content

Rank the Cmd+K omnibar name-first. An exact filename match now leads…#229

Merged
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync
Jun 22, 2026
Merged

Rank the Cmd+K omnibar name-first. An exact filename match now leads…#229
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync

Conversation

@inkeep-oss-sync

Copy link
Copy Markdown
Contributor

Rank the Cmd+K omnibar name-first. An exact filename match now leads the results even when many files share that basename and have stronger body-text scores — the file you typed is no longer buried below same-named siblings or pushed past the fetch limit. The omnibar still searches content, but a strong content match only reorders within a name-match tier rather than outranking the name itself; the deliberate "by meaning" search keeps content-relevance ranking. A query that matches many folders or name-only files (evidence, index) no longer fills the whole list with one kind — folders and files are bounded so content pages fill the rest.

…t decoupling (PRD-7065 Phase 2) (#2013)

Replace the additive search score with a tier-dominant function so an
exact filename match leads even when same-named siblings have stronger
body scores. Add a `ranking` option (navigation vs relevance) decoupled
from `intent`, so the omnibar searches content (intent full_text, with
fuzzy tolerance) but ranks name-first and bounds folders/files, while
the MCP search tool stays relevance-ranked and uncapped. Raise the
omnibar fetch from 30 to 50 for exact-name headroom. Lock the file-row
path subtitle with a DOM test.

The omnibar routes through intent full_text, so this decoupling is what
makes both Phase 2 (D2 tier-dominant) and Phase 1 (D6 per-kind cap)
actually reach what the user sees.

GitOrigin-RevId: 2f76c574f27268a744efb7a2541f9c5c022e0391

@inkeep-internal-ci inkeep-internal-ci Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated approval from agents-private public-mirror-sync (run: https://github.com/inkeep/agents-private/actions/runs/27991162190). Source of truth is the monorepo; direct edits on inkeep/open-knowledge are overwritten on next sync.

@inkeep-oss-sync inkeep-oss-sync Bot merged commit 83d9f95 into main Jun 22, 2026
1 check passed
@inkeep-oss-sync inkeep-oss-sync Bot deleted the copybara/sync branch June 22, 2026 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant