Skip to content

Conversation

werererer
Copy link

@werererer werererer commented Oct 8, 2025

To improve information Retrieval I made some changes to the ranking function:

  • Search now considers note label key and values different and tunable in ranking (It didn't before was a bug prob).
  • Search now considers the Note-ID
  • Made Ranking algorithm more straight forward (likely the first version was similar to the now second)

Note: The search result order will differ due to new rankings. However I compared the ranking with the ranking from the original trilium, and tried to match and improve upon it, by testing it out in practice and hoping that my experience generalizes xD.

The code works in the current stage. But to fine tune it, I will run with it for a bit, tweak it and make it compatible with other wishes of users.

@werererer
Copy link
Author

werererer commented Oct 8, 2025

Issues Solved

@werererer
Copy link
Author

werererer commented Oct 8, 2025

Associations:

Dissociations:

@werererer werererer changed the title fix(search-ranking): add attributes and labels to search ranking Draft: fix(search-ranking): add attributes and labels to search ranking Oct 8, 2025
@werererer werererer force-pushed the search-ranking-improved branch from 14c070d to a5242af Compare October 17, 2025 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants