-
-
Notifications
You must be signed in to change notification settings - Fork 62
添加基于文件名相似度的匹配搜索 #287
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
问题描述
当前使用sha1搜索元数据时,如果同一个文件存在于多个Gallery中,会返回多个结果,难以确定正确的匹配项。而部分Gallery名称包含Windows文件名禁止字符(如
? * < > | : \ /),无法可靠使用keyword搜索来查找。建议方案
增加一个新的搜索方法,结合sha1和文件名相似度匹配:
可以采用Levenshtein Distance或Jaro-Winkler等算法计算相似度
在现有搜索选项中添加"sha1 + 文件名匹配"选项