* Leave bulk-load mode: rebuild the whole FTS index from the nodes table in * one pass (far cheaper than per-row trigger firings), then recreate the * triggers by re-running schema.sql (idempotent — everything in it is * IF NOT EXISTS).
()
| 180 | * IF NOT EXISTS). |
| 181 | */ |
| 182 | endBulkNodeLoad(): void { |
| 183 | this.db.exec(`INSERT INTO nodes_fts(nodes_fts) VALUES('rebuild')`); |
| 184 | this.recreateFtsTriggers(); |
| 185 | } |
| 186 | |
| 187 | /** |
| 188 | * NON-UNIQUE secondary indexes maintained per-row during the parse phase's |
no test coverage detected