Skip to content

refactor(core): split search cache modules#127

Merged
xingkaixin merged 1 commit into
mainfrom
feat/cs-46-search-cache-modules
Jul 11, 2026
Merged

refactor(core): split search cache modules#127
xingkaixin merged 1 commit into
mainfrom
feat/cs-46-search-cache-modules

Conversation

@xingkaixin

Copy link
Copy Markdown
Owner

Summary

  • move structured query parsing and FTS token escaping into search-query-parser.ts
  • move search index state, SQLite writes, and FTS rebuild orchestration into search-index-writer.ts
  • retain search.ts as the query reader and stable compatibility export surface
  • move parser characterization coverage next to its implementation

Impact

This is an internal locality refactor. Search exports, SQL parameter order, FTS behavior, result ranking, and index synchronization behavior remain unchanged. No adapter or speculative abstraction was introduced around SQLite.

Validation

  • pnpm format
  • pnpm lint
  • pnpm format:check
  • pnpm build
  • pnpm test (662 tests)
  • pnpm test:e2e (6 tests)
  • pnpm bench:perf --target auto --iterations 1

Closes CS-46

@xingkaixin xingkaixin marked this pull request as ready for review July 11, 2026 12:48
@xingkaixin xingkaixin merged commit 590681b into main Jul 11, 2026
7 checks passed
@xingkaixin xingkaixin deleted the feat/cs-46-search-cache-modules branch July 11, 2026 12:49
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