mirror of
https://github.com/allankoechke/turso.git
synced 2026-12-04 09:45:03 +00:00
The `fts` cargo feature (which pulls in tantivy) propagated from `core` to `sdk-kit` but stopped there: `py-turso` depended on `turso_sdk_kit` without enabling `fts`, so `CREATE INDEX ... USING fts` failed at runtime even with the `index_method` experimental flag set. Enable `turso_sdk_kit/fts` in the Python binding so FTS is compiled into the wheel. Usage is SQL-only and gated at runtime via `turso.connect(..., experimental_features="index_method")`. Add three FTS tests to test_database.py (run unconditionally in CI on all platforms) covering fts_match, fts_score ordering, and fts_highlight.