document_calendar_items_fts_word Client SQLite virtual table
Word index over the title, location, and notes of document_calendar_items: an external-content FTS5 table keyed by calendar_item_rowid, tokenized with unicode61 (diacritics removed). It keeps no copy of the text and is rebuilt when it is created over existing rows.
Declared in packages/client-sdk/src/data/sqlite/schema/documentCalendarSchema.ts
Columns
titleuntyped- nullable
The item's title, location, and notes, indexed by word; the text is read from
document_calendar_items.locationuntyped- nullable
The item's title, location, and notes, indexed by word; the text is read from
document_calendar_items.notesuntyped- nullable
The item's title, location, and notes, indexed by word; the text is read from
document_calendar_items.
DDL
The statement the client runs to create this index.
CREATE VIRTUAL TABLE IF NOT EXISTS "document_calendar_items_fts_word" USING fts5(
title,
location,
notes,
content='document_calendar_items',
content_rowid='calendar_item_rowid',
tokenize='unicode61 remove_diacritics 2'
);