1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-30 10:36:35 +02:00
joplin/readme
Shawn Axsom 5eb0417b1a
All: Sort search results by average of multiple criteria, including 'Sort notes by' field setting (#3777)
* Weight search results by most recently updated

As discussed here: https://github.com/laurent22/joplin/pull/3777#issuecomment-696491859
Before this commit, results were rarely sorted by date. Content weights and fuzziness were
determined, and then the first criteria to differ would win in sort order (and user_updated_time
was the last criteria checked).

Now the weight score itself will also include age of user_updated_time, surfacing fresh content.
At the current alpha level, results are weighted logarithmically, prioritizing mostly within the
last 30 days, and especially heavily within the past week.

* Updated unit tests to weight search results by last updated date

* Updated unit test title

* Fixed issue with weighted search engine test, and made it more deterministic using mock date

Date was being calculated only at the start of the test suite. It also wasn't using a set mock date, so the milliseconds between the real search engine calculations and the test calculation caused differences in results

* Added initial Search Engine spec

* Added Search Engine spec to README.md

* Renamed Search Sorting spec per laurent22's mentioned naming

* Revised copy in search sorting spec

Co-authored-by: Laurent <laurent22@users.noreply.github.com>
2020-10-09 21:51:11 +01:00
..
api Improved building website 2020-10-09 21:29:16 +01:00
blog Fixing links 2020-10-09 19:09:52 +01:00
gsoc2020 Fixing links 2020-10-09 19:09:52 +01:00
gsod2020 Doc: New Idea: Separate Windows For Panes (#3271) 2020-06-04 19:29:28 +01:00
spec All: Sort search results by average of multiple criteria, including 'Sort notes by' field setting (#3777) 2020-10-09 21:51:11 +01:00
welcome Update welcome note 2020-05-17 16:00:45 +01:00
build_troubleshooting.md Update build_troubleshooting.md 2020-03-29 11:08:53 +01:00
changelog_cli.md CLI v1.2.3 2020-10-09 12:17:40 +01:00
changelog.md Update website 2020-10-09 14:58:06 +01:00
clipper.md Fixing links 2020-10-09 19:27:33 +01:00
conflict.md Handle resource conflicts 2020-05-31 16:57:16 +01:00
debugging.md Desktop: Fixes #3645: Improved handling of startup errors, and prevent window from being invisible when upgrading sync target 2020-09-01 22:25:23 +01:00
desktop.md All: Add support for application plugins (#3257) 2020-10-09 18:35:46 +01:00
donate.md Doc: Update dontate page 2020-09-05 22:49:40 +01:00
e2ee.md Fixing links 2020-10-09 19:30:57 +01:00
faq.md All: Add support for application plugins (#3257) 2020-10-09 18:35:46 +01:00
markdown.md https://joplin.cozic.net -> https://joplinapp.org 2020-07-27 13:26:17 -04:00
mobile.md All: Add support for application plugins (#3257) 2020-10-09 18:35:46 +01:00
nextcloud_app.md Doc: Update Nextcloud app doc 2019-12-14 10:36:30 +00:00
plugins.md All: Add support for application plugins (#3257) 2020-10-09 18:35:46 +01:00
prereleases.md Doc: Update text to match Desktop text (#2897) 2020-03-24 19:01:45 +00:00
stats.md Update website 2020-10-09 14:58:06 +01:00
terminal.md Merge branch 'dev' into cli-shortcuts-ts 2020-08-01 17:50:03 +01:00