Skip to content

feat: 朋友圈搜索支持评论内容,新增三种搜索模式#1015

Open
nDhnzr6r wants to merge 1 commit into
hicccc77:devfrom
nDhnzr6r:main
Open

feat: 朋友圈搜索支持评论内容,新增三种搜索模式#1015
nDhnzr6r wants to merge 1 commit into
hicccc77:devfrom
nDhnzr6r:main

Conversation

@nDhnzr6r
Copy link
Copy Markdown

Changes

  • Added three search modes for Moments: All / Content / Comments
  • All: Search both post content and comments (including commenter nicknames), full database scan
  • Content: DLL-based full DB content search (original behavior, fastest)
  • Comments: Full DB scan with client-side comment matching
  • Backend snsService now supports searchMode with dual-path merging for All mode
  • IPC chain updated to pass searchMode parameter

Closes #1004

- 搜索框下新增「全部/正文/评论」三种模式切换按钮
- 全部模式:同时搜索正文和评论(含评论者昵称),全库无上限
- 正文模式:DLL 全库搜索正文(原行为)
- 评论模式:全库扫描,客户端比对评论内容
- 后端 snsService 实现全库分批扫描 + 双路合并逻辑

Closes hicccc77#1004
@nDhnzr6r
Copy link
Copy Markdown
Author

使用AI辅助修复

@xunchahaha
Copy link
Copy Markdown
Collaborator

xunchahaha commented May 26, 2026

你和940没一个能用的 你俩给我一个测试成功的视频或者图片给我看看

@nDhnzr6r
Copy link
Copy Markdown
Author

你和940没一个能用的 你俩给我一个测试成功的视频或者图片给我看看

我测没问题,视频tg私发@hicccc77

@hicccc77 hicccc77 changed the base branch from main to dev May 27, 2026 12:28
@hicccc77
Copy link
Copy Markdown
Owner

先把冲突改了吧

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.

[Enhancement]: 增加搜索朋友圈评论

3 participants