Updated notes on FTS5 v.s. FTS4

fix-regex-warnings
Simon Willison 2018-12-18 13:49:51 -08:00 zatwierdzone przez GitHub
rodzic 595da9054e
commit 74ad06e128
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -14,7 +14,9 @@ FTS versions
There are three different versions of the SQLite FTS module: FTS3, FTS4 and FTS5. You can tell which versions are supported by your instance of Datasette by checking the ``/-/versions`` page.
FTS5 is the most advanced module, but is usually not available is the SQLite version that is bundled with Python. If in doubt, you should use FTS4.
FTS5 is the most advanced module but may not be available in the SQLite version that is bundled with your Python installation. Most importantly, FTS5 is the only version that has the ability to order by search relevance without needing extra code.
If you can't be sure that FTS5 will be available, you should use FTS4.
Adding full-text search to a SQLite table
-----------------------------------------