Closed ar-jan closed 1 year ago
The virtual table's _config version: 4
seems to indicate FTS5.
why close? is the only problem that the _config table that incorrectly says 4 for fts5? if so, that's still something that should be fixed
I guess it is not incorrect when it says the version is 4
, though it is confusing. Maybe it doesn't even refer to FTS4/FTS5 versions, but something else? In any case, it's not related to sqlite-utils, but SQLite itself.
When I do
sqlite-utils enable-fts my.db table_name column_name
(with or without--fts5
), I get an FTS4 virtual table instead of the expected FTS5.FTS5 is however available and Python/SQLite versions do not seem to be the issue. I can manually create the FTS5 virtual table, and then Datasette also works with it from this same Python environment.
>>> sqlite3.version
2.6.0
>>> sqlite3.sqlite_version
3.39.4
PRAGMA compile_options;
includesENABLE_FTS5
.sqlite-utils, version 3.30
.Any ideas what's happening and how to fix?