Skip to content

feat: optimize help center search - #5

Merged
nonepointer666 merged 1 commit into
nonepointer666:mainfrom
cyssayyes-source:feat/search-optimization
Sep 3, 2026
Merged

nonepointer666 merged 1 commit into
nonepointer666:mainfrom
cyssayyes-source:feat/search-optimization

Conversation

@cyssayyes-source

Copy link
Copy Markdown
Contributor

主要优化了本地搜索逻辑,typesense的核心搜索流程没有替换,同时补充了相关字段和排序配置。主要改动包括:

  1. 修复结果固定只返回8条、没有真实总数和分页的问题;
  2. 将摘要从正文开头截取改为定位到关键词附近;
  3. 增加中英文分词和中文片段匹配,改善长文本查询无结果的问题;
  4. 增加“产品指南、FAQ、更新日志”的业务优先级;
  5. 给本地搜索和typesense返回的摘要增加关键词高亮。

…致匹配不到任何文档;4、没有对'产品指南、FAQ、更新日志'设置业务优先级;6、搜索结果中没有对关键词进行高亮显示
@nonepointer666
nonepointer666 merged commit 99a5fba into nonepointer666:main Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants