mirror of
https://github.com/ivabus/gui
synced 2025-06-08 00:00:27 +03:00
make fuzzy search stricter (#505)
Co-authored-by: neil molina <neil@neils-MacBook-Pro.local>
This commit is contained in:
parent
f4939bee51
commit
0e7147d91f
1 changed files with 3 additions and 1 deletions
|
@ -129,7 +129,9 @@ To read more about this package go to [${guiPkg.homepage}](${guiPkg.homepage}).
|
||||||
}
|
}
|
||||||
|
|
||||||
packagesIndex = new Fuse(guiPkgs, {
|
packagesIndex = new Fuse(guiPkgs, {
|
||||||
keys: ["name", "full_name", "desc", "categories"]
|
keys: ["name", "full_name", "desc", "categories"],
|
||||||
|
minMatchCharLength: 3,
|
||||||
|
threshold: 0.3
|
||||||
});
|
});
|
||||||
log.info("refreshed packages fuse index");
|
log.info("refreshed packages fuse index");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue