update search.js key weighting

This commit is contained in:
Akbar Rahman 2021-12-22 21:46:16 +00:00
parent ab618e77c1
commit 5c5f6ab89d
Signed by: alvierahman90
GPG Key ID: 20609519444A1269

View File

@ -7,15 +7,15 @@ const fuse = new Fuse(data, {
keys: [
{
name: HEADERS,
weight: 1
weight: 2
},
{
name: PATH,
weight: 1
weight: 0.5
},
{
name: TAGS,
weight: 1
weight: 1.5
},
{
name: TITLE,