refactor(database): remove legacy session FTS

This commit is contained in:
digua committed 2026-08-03 17:28:19 +08:00
1 parent ef4f8de74d
commit 256e93605a
27 files changed
+148 -246

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@
* members – Member management
* analytics – Stats and advanced analytics
* sql – SQL Lab and plugin query
* sessionIndex – Session index generation + FTS
* sessionIndex – Session index generation
* summaries – LLM summary generation
* import – File / directory / incremental import + demo
* merge – Merge parse / conflicts / execute
+2 -2
View File
@@ -3,7 +3,7 @@
*
* Replaces the old buffered-in-memory approach with the same high-performance
* streaming pipeline used by Electron (batched transactions, deferred indexes,
* nickname history, FTS, format fallback).
* nickname history, indexes, and format fallback).
*/
import type { DatabaseManager } from '@openchatlab/node-runtime'
@@ -142,7 +142,7 @@ function deleteSessionDatabase(dbManager: DatabaseManager, sessionId: string): v
/**
* High-performance streaming import: parse a file and write to DB
* with batched transactions, deferred indexes, and FTS.
* with batched transactions and deferred indexes.
*/
async function streamImportUnlocked(
dbManager: DatabaseManager,