hackjutsu / Lepton

💻 Democratizing Snippet Management (macOS/Win/Linux)
https://hackjutsu.com/Lepton
MIT License
10.13k stars 475 forks source link

当我输入一个错误的标签,也会搜索出来 #470

Closed ghost closed 3 years ago

ghost commented 3 years ago

The more we know about your system and use case, the more easily and likely we can help.

Environment info

Description of the problem / feature request / question:

这个标签 test33是不存在的,但还是搜出了东西

image

If possible, provide a sample gist or screenshot:

If possible, provide the log files

For Lepton after v1.9.0, the path of the log file can be found at Command/Ctrl + ,

hackjutsu commented 3 years ago

Lepton uses the fuzzy search backed by fuse.js. Therefore it can return the results which the engine thinks are close enough (with high relevance scores).