mirror of
https://github.com/jaywcjlove/reference.git
synced 2025-06-16 20:21:22 +08:00
webite: optimize search result. fix #159
This commit is contained in:
@ -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 }
|
||||
|
Reference in New Issue
Block a user