feat 中英文名搜索

This commit is contained in:
jxxghp
2023-08-05 07:21:20 +08:00
parent 0a2d9913e3
commit 95360acea8
2 changed files with 18 additions and 6 deletions

View File

@ -48,6 +48,7 @@ class IndexerModule(_ModuleBase):
and site.get('language') == "en" \
and StringUtils.is_chinese(search_word):
# 不支持中文
logger.warn(f"{site.get('name')} 不支持中文搜索")
return []
# 开始索引