Skip to content

Claude/fix jira search results kj m9 z#36

Merged
Chetic merged 2 commits intomainfrom
claude/fix-jira-search-results-KjM9Z
Feb 3, 2026
Merged

Claude/fix jira search results kj m9 z#36
Chetic merged 2 commits intomainfrom
claude/fix-jira-search-results-KjM9Z

Conversation

@Chetic
Copy link
Copy Markdown
Owner

@Chetic Chetic commented Feb 3, 2026

No description provided.

The reranker was matching results back to original nodes by text content
only, which could fail if flashrank modified the text slightly. Nodes that
weren't matched got no rerank score and were filtered out by the score
threshold (0.0 < 0.1).

Changes:
- Primary: match reranker results by index (flashrank returns original
  passage index in the 'id' field)
- Fallback: match by text content if index not available
- Assign minimum matched score to any remaining unmatched nodes to prevent
  Jira/Confluence results from being dropped due to text mismatch

This fixes the issue where searching for exact Jira ticket IDs like
"ESHELF-1660" returned 0 results despite the JQL query finding the ticket.

https://claude.ai/code/session_01EvP63CjukYT16sB62PwssQ
@Chetic Chetic merged commit 4b0035d into main Feb 3, 2026
3 checks passed
@Chetic Chetic deleted the claude/fix-jira-search-results-KjM9Z branch February 3, 2026 14:54
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.

2 participants