mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 02:02:29 +08:00
add back comment
This commit is contained in:
parent
bca7d9c4d2
commit
a97a0660ea
@ -48,6 +48,7 @@ class SearchResult {
|
||||
this.score += 120;
|
||||
}
|
||||
|
||||
// notes with matches on its own note title as opposed to ancestors or descendants
|
||||
const beforeTokenScore = this.score;
|
||||
// Add scores for partial matches with lower weights
|
||||
this.addScoreForStrings(tokens, note.title, 1.5);
|
||||
|
Loading…
x
Reference in New Issue
Block a user