Skip to content

Commit

Permalink
adjust threshold down to 0.2 to filter out irrelevant results
Browse files Browse the repository at this point in the history
  • Loading branch information
gumaerc committed Jul 10, 2023
1 parent d09a8f1 commit f32ad1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www-offline/layouts/search/section.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ <h3 class="col-3 text-center m-auto">Start typing to search</h3>
const Fuse = window.Fuse
const searchOptions = {
shouldSort: true,
threshold: 0.4,
threshold: 0.2,
location: 0,
distance: 100,
matchAllTokens: true,
Expand Down

0 comments on commit f32ad1b

Please sign in to comment.