.search() now works differently for FTS4 v.s. FTS5

This commit is contained in:
Simon Willison 2020-11-05 10:01:58 -08:00
commit 7c22a64fb6
2 changed files with 43 additions and 42 deletions

View file

@ -112,7 +112,7 @@ def test_fts_tokenize(fresh_db):
tokenize="porter",
)
assert [("racoons are biting trash pandas", "USA", "bar")] == table.search(
"bite"
"bite", order="rowid"
)