aapis / evertils

Generate Evernote notes from YML files
1 stars 0 forks source link

Smarter search #50

Closed aapis closed 4 years ago

aapis commented 4 years ago

Previously, searches were executed using the intitle search grammar. Unfortunately this resulted in some pretty inaccurate results pretty frequently, likely due to the fact EN would find dozens of notes it think qualified based on the title alone.

Currently the new search is only implemented in the log message controller, but now you can configure a search grammar and find a note based on that. Since the system uses standard tags, we should just search based on those and some other criteria as well (including notebook and created date so we only find things from this year). This reduces the number of found results to 1, or 0 (if it wasn't found).

This search system will be rolled out to other controllers in the future.