diff --git a/src/services/search/search_result.ts b/src/services/search/search_result.ts index a9190674b..9a0f71f9c 100644 --- a/src/services/search/search_result.ts +++ b/src/services/search/search_result.ts @@ -30,9 +30,9 @@ class SearchResult { const normalizedQuery = fulltextQuery.toLowerCase(); const normalizedTitle = note.title.toLowerCase(); - // Note ID exact match + // Note ID exact match, also significantly increase if (note.noteId.toLowerCase() === fulltextQuery) { - this.score += 100; + this.score += 1000; } // Title matching scores - significantly increase the exact match score