diff --git a/src/services/search/search_result.ts b/src/services/search/search_result.ts index c1da6b7df..a9190674b 100644 --- a/src/services/search/search_result.ts +++ b/src/services/search/search_result.ts @@ -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);