Skip to content

fix: deduplicate search results by file_id to handle symlinks correctly#56

Open
echobt wants to merge 1 commit intomainfrom
fix/issue-182
Open

fix: deduplicate search results by file_id to handle symlinks correctly#56
echobt wants to merge 1 commit intomainfrom
fix/issue-182

Conversation

@echobt
Copy link
Copy Markdown
Contributor

@echobt echobt commented Jan 21, 2026

This PR fixes a bug where search result deduplication was incorrectly merging results from different logical files (e.g. symlinks) that resolved to the same path. By using 'file_id' instead of 'path' for deduplication, we ensure that the best chunk is kept for each indexed file entry, preserving results from distinct logical locations as expected.

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