Description
Use case: if you have many notes, for many searches very often like 20 or even more results are found. The idea is to do some kind of relevance evaluation and sort "likely more relevant" hits towards beginning. Evaluating relevance is "rocket science", but I found out that quite simple algorithm does big improvement in daily usage.
I already implemented this in nixnote and did like this: if the word from search term, is found in title the result gets +1 point, if its found in tag, it gets +1 point, if the result hit note is marked with "important" tag, it gets +3 points (this is "manual override" - sometime works sometimes doesn't). So marking with "important" makes it some kind of "favorite" - but it only shows, when its a search hit. So you can thus have many hidden "favorites", which show on first places whenever they are search hit.
Then notes are sorted by count of points DESC and by second criteria (for me always "last updated"). The notes with "points" get some visual hint (I just used bold font for first version).
For some of the searches it works better, for some its not much difference, but overall its quite improvement (and the algoritm can be made better later - this is just first try). For this to work reasonably good, you need to fill meaningfull note titles.
The feature can be enabled/disabled in preferences ... if someone wouln't like (or just by selecting the sort criteria - if relevance field is not part of selected sort, it would be evaluated, or something like that).
Here is some example random searches I did, but there are cases where it performs better..
--
..this is one of the 2 "must have" features, which I would like to add. I don't yet have implementation plan, but I will do one, after I finish with the 3 UI tasks. Any hints/suggestions are welcome. I've been missing this feature in Evernote clients for years, to be honest I don't understand, why they don't add it. And it also one of the reasons why I decided to pick some open source client and add this myself.