diff --git a/src/backend/controllers/search.ts b/src/backend/controllers/search.ts index f2f6566..5c757af 100644 --- a/src/backend/controllers/search.ts +++ b/src/backend/controllers/search.ts @@ -46,7 +46,7 @@ class Search { /** * Add page id to the list of pages with this word */ - this.words[word][page._id] += blockRatio; + this.words[word][page._id] *= blockRatio; } } }