update search key weightings

This commit is contained in:
2023-02-06 11:51:27 +00:00
parent 2a35e967f0
commit 03fff83930

View File

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