update search weights

This commit is contained in:
Akbar Rahman 2022-05-07 19:50:35 +01:00
parent adc2a36fc2
commit 59eccec7c4
Signed by: alvierahman90
GPG Key ID: 20609519444A1269

View File

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