chore: search cleanup

This commit is contained in:
Cory Dransfeldt 2024-10-19 19:42:30 -07:00
parent 6833d054cc
commit 01ed2ac3b3
No known key found for this signature in database
4 changed files with 9 additions and 31 deletions

View file

@ -107,8 +107,9 @@ window.addEventListener("load", () => {
"total_plays",
],
searchOptions: {
fields: ["title", "tags"],
prefix: true,
fuzzy: 0.2,
fuzzy: 0,
boost: { title: 2, tags: 1.5 },
sort: (a, b) => b.score - a.score,
},