mirror of
https://github.com/alvierahman90/gronk.git
synced 2024-11-22 07:19:53 +00:00
update search weights
This commit is contained in:
parent
adc2a36fc2
commit
59eccec7c4
@ -7,7 +7,7 @@ const fuse = new Fuse(data, {
|
|||||||
keys: [
|
keys: [
|
||||||
{
|
{
|
||||||
name: HEADERS,
|
name: HEADERS,
|
||||||
weight: 2
|
weight: 1.5
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: PATH,
|
name: PATH,
|
||||||
@ -19,7 +19,7 @@ const fuse = new Fuse(data, {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: TITLE,
|
name: TITLE,
|
||||||
weight: 1.5
|
weight: 4
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
includeMatches: true
|
includeMatches: true
|
||||||
|
Loading…
Reference in New Issue
Block a user