webite: optimize search result. fix #159
This commit is contained in:
parent
3b3e6f3eb8
commit
afbfcc2285
@ -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 }
|
||||
|
Loading…
x
Reference in New Issue
Block a user