update search key weightings
This commit is contained in:
parent
2a35e967f0
commit
03fff83930
@ -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
|
||||||
|
Reference in New Issue
Block a user