Complete storage and search foundation
This commit is contained in:
@@ -2,12 +2,15 @@
|
||||
|
||||
Libre Study should query study resources through stable app-level search and resource interfaces. The UI should not care whether a result came from local JSON packages, browser indexes, Tauri SQLite, hosted SQLite, or a future server database.
|
||||
|
||||
## Current Phase 5 Step
|
||||
## Current Phase 5 Result
|
||||
|
||||
- Browser/local preview still loads LibreBible JSON/JSONL packages.
|
||||
- Visible page hydration now goes through a shared page-query method instead of the reader assuming every resource is already attached to the whole-library array.
|
||||
- Verse search now goes through a cached verse search index instead of open-coded filtering.
|
||||
- The index supports normal text search, reference text, `tag:` search, and Strong's-number search.
|
||||
- The index is disposable and rebuildable from the loaded translation package, which keeps it compatible with later SQLite/server-backed search.
|
||||
- KJV Strong's-number search uses a compact package index where available.
|
||||
- KJV page Strong's links load from `strongs-by-chapter` shards where available, with whole-file loading kept as a fallback for older packages.
|
||||
- The native SQLite path has explicit reference/attachment indexes and an FTS5 verse-search table.
|
||||
- Browser indexes are disposable and rebuildable from loaded package surfaces, which keeps them compatible with later SQLite/server-backed search.
|
||||
|
||||
## Resource Data vs User Data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user