webite: optimize search result. fix #159 afbfcc2285

This commit is contained in:
jaywcjlove
2022-11-21 08:14:27 +00:00
parent 3f7a13fae8
commit e26a8073e8
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ const fuse = new Fuse(REFS_DATA, {
matchEmptyQuery: !0,
threshold: .1,
keys: [
{ name: "name", weight: 12 },
{ name: "name", weight: 20 },
{ name: 'intro', weight: 2 },
{ name: 'tags', weight: 2 },
{ name: 'sections.t', weight: 5 }