NousResearch/hermes-agent

session_search ranking for short CJK query tokens

Cluster 161060 · agent · Bug. Data as of

3 open items. Fix attempted, not merged.

The short answer

1open issue
2open PRs
3items grouped
Known?
Yes. 3 related items grouped here, 0 issues already closed.
Fix event
No fix has been merged to main. See the attempts below.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.

The members appear to concern session_search behavior with short Japanese/Chinese tokens, where a LIKE fallback reportedly orders results by newest timestamp rather than relevance. One member seems to propose ranking LIKE fallbacks by distinct tokens matched; the titles don't confirm the outcome.

Open issues1

  • Issue#161060session_search: short CJK tokens force LIKE OR-scan ordered by timestamp DESC, so Japanese queries return only the newest sessions

Open PRs2

  • PR#161210Session search with short Japanese/Chinese words finds the matching chat, not just the newest (#161060)
  • PR#161656fix(session_search): rank LIKE fallbacks by distinct tokens matched b…
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

For your agent

The same facts, typed.