Reduce fusejs threshold (#374)

This commit is contained in:
Chenlei Hu
2024-08-11 12:39:23 -04:00
committed by GitHub
parent 9385014799
commit 2a5b2e8d12

View File

@@ -113,13 +113,13 @@ export class NodeSearchService {
this.nodeFuseSearch = new FuseSearch(data, {
keys: ['name', 'display_name', 'description'],
includeScore: true,
threshold: 0.6,
threshold: 0.3,
shouldSort: true
})
const filterSearchOptions = {
includeScore: true,
threshold: 0.6,
threshold: 0.3,
shouldSort: true
}