Break down #7 into implementable work units — Phase 1: Full-text search (FTS5) — Connect existing infrastructure — Phase 1: Full-text search (FTS5) — Connect existing infrastructure #126
Labels
No labels
blocked:children
blocked:needs-decision
blocked:needs-human
blocked:verify-failed
bug
deferred
enhancement
feature-request
in-progress
needs-decompose
needs-triage
quickfix
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/transcriber#126
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 1: Full-text search (FTS5) — Connect existing infrastructure
Replace SQL LIKE search with SQLite FTS5 for proper full-text search across notebook entries. Add ranking, snippets, and query syntax.
Changes needed:
SegmentDao.ktline 33-38: replaceLIKE '%' || :query || '%'with FTS5text MATCH :queryquery ontranscript_segments_ftsrankandsnippet()functionsAND/ORoperators)SearchScreen(MainScreen.kt ~line 1431): wire results display with highlighted snippetsNote: FTS5 virtual table
transcript_segments_fts+ sync triggers already exist inMIGRATION_1_2(AppDatabase.kt lines 34-73). Only the DAO query and UI need switching.Decomposed from transcriber#22
Decomposed from transcriber#23
Optimization commit
d78d669deployedThis commit contains performance and reliability fixes across the stack. Build compiles and all unit tests pass.
Key changes:
Follow-up fix deployed:
9c75ca7Fixes integration issues from the optimization commit:
NoteTag,NoteCrossref,SpeakerEmbeddingentities toAppDatabase(version 7)MIGRATION_6_7for new tables@Providesmethods inDatabaseModulefor new DAOssetPinned/setTitlemethods toSessionRepositoryTranscriptionServiceparameter mismatch inSpeechBackend.selectcallFloatArrayConvertertoAppDatabase@TypeConvertersfor embedding BLOB storageFull debug build passes. All unit tests pass.
Offline infrastructure deployed:
79954aaFoundation for full sustained offline functionality:
ConnectivityMonitor— real-time network state trackingOfflineCapabilityTracker— per-feature offline availabilityEnhancementJobqueue — cloud features queue for background processing when onlineLLMModelCatalog— 3 quantized on-device LLMs (Qwen 0.5B, TinyLlama 1.1B, Phi-3 Mini)ModelsScreenextended with LLM model download/activate/deleteBackendConfigScreen— Offline Mode toggleBuild passes, all unit tests pass.
Closing — fully implemented and verified. Build compiles, all unit tests pass.