mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-25 17:54:34 +08:00
refactor(database): remove legacy session FTS
This commit is contained in:
1 parent
ef4f8de74d
commit
256e93605a
27 files changed
+148
-246
No files matched your search
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user