From 0e8f82703fcb7bc965f0ea6cb5afb228e41676c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernat=20Borr=C3=A0s=20Civil?= <70479573+BernatBC@users.noreply.github.com> Date: Fri, 20 Sep 2024 02:52:33 +0200 Subject: [PATCH] Fix perfect matching provisionally (#976) Co-authored-by: Emruz Hossain --- assets/scripts/pages/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/scripts/pages/search.js b/assets/scripts/pages/search.js index 87cd0c53e..64770b429 100644 --- a/assets/scripts/pages/search.js +++ b/assets/scripts/pages/search.js @@ -7,7 +7,7 @@ window.addEventListener('DOMContentLoaded', () => { const fuseOptions = { shouldSort: true, includeMatches: true, - threshold: 0.0, + threshold: 0.1, tokenize: true, location: 0, distance: 100,