chore: search cleanup
This commit is contained in:
parent
6833d054cc
commit
01ed2ac3b3
4 changed files with 9 additions and 31 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Reference in a new issue