Skip to content

feat: replace Algolia with local CJK search#2621

Open
Innei wants to merge 1 commit intomasterfrom
codex/paced
Open

feat: replace Algolia with local CJK search#2621
Innei wants to merge 1 commit intomasterfrom
codex/paced

Conversation

@Innei
Copy link
Member

@Innei Innei commented Mar 20, 2026

Summary

  • replace Algolia search and config wiring with a Mongo-backed local search index
  • add CJK-aware token indexing plus BM25-style reranking for unified post/note/page search
  • update API client, tests, and lockfile for the local search flow

Test Plan

  • pnpm -C apps/core lint
  • pnpm -C apps/core typecheck
  • pnpm -C apps/core exec vitest run test/src/modules/search/search.service.spec.ts test/src/modules/configs/configs.service.spec.ts test/src/modules/configs/configs.util.spec.ts
  • pnpm -C packages/api-client exec vitest run tests/controllers/search.test.ts

@safedep
Copy link

safedep bot commented Mar 20, 2026

SafeDep Report Summary

Green Malicious Packages Badge Green Vulnerable Packages Badge Green Risky License Badge

No dependency changes detected. Nothing to scan.

This report is generated by SafeDep Github App

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.

1 participant