Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added relevance search/sort #444

Open
wants to merge 15 commits into
base: development
Choose a base branch
from

Conversation

robert7
Copy link

@robert7 robert7 commented Jun 15, 2018

Added simple search term relevance evaluation for free text search.

It tries to sort the found notes according to where the search term was found. If the word was found in title it gets +1 point, if another word is found in title another +1 point. If the word is found in tag +1. Further notes can be manually marked "important" by tagging "important*" - this is similar to "note pinning", but the note only shows up, if it is found according to search terms.
Its not yet perfectly polished, more like "proof of concept" - but for me already works quite well.

Illustration
nn-relevance-search-sort-demo-data-screen_20180615_04

Update 8.2018: meanwhile the PR is outdated - there is more recent version at my fork..

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