Skip to content

Commit

Permalink
Tweak fuzzy search threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
amits97 committed Nov 20, 2024
1 parent 81b065a commit 4981897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/common/post-fuzzy-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export async function fuzzySearch(query) {

const options = {
includeScore: true,
threshold: 0.5,
threshold: 0.4,
isCaseSensitive: false,
keys: ["postId"],
};
Expand Down

0 comments on commit 4981897

Please sign in to comment.