update search key weightings

This commit is contained in:
Akbar Rahman 2023-02-06 11:51:27 +00:00
parent 2a35e967f0
commit 03fff83930
Signed by: alvierahman90
GPG Key ID: 20609519444A1269

View File

@ -7,19 +7,19 @@ const fuse = new Fuse(data, {
keys: [
{
name: HEADERS,
weight: 1.5
weight: 0.2
},
{
name: PATH,
weight: 0.5
weight: 0.1
},
{
name: TAGS,
weight: 1.5
weight: 0.1
},
{
name: TITLE,
weight: 4
weight: 1
}
],
includeMatches: true