Skip to content

Fts5KeywordIndexOptions

sql: SqlExecutor;

Tagged-template SQL executor. On Cloudflare: createSqlExecutor(ctx.storage.sql) from @kuralle-agents/cf-agent. On Node/Bun: a thin wrapper over bun:sqlite / better-sqlite3.


optional tableName?: string;

FTS5 virtual table name. Default: ‘kuralle_keyword_index’.


optional tokenize?: string;

FTS5 tokenizer spec. Default: unicode61 categories 'L* N* Co Mn Mc' — unicode61 extended to keep combining marks as token characters, so Indic scripts (Tamil, Sinhala, Hindi, …) are not split at vowel signs. Good for all space-delimited languages. For unsegmented languages (Chinese, Japanese, Thai) use ‘trigram’ (substring matching, query terms must be ≥3 chars).