Skip to content

Commit

Permalink
Downgrade to buggy behavior to support API 21-29 too.
Browse files Browse the repository at this point in the history
  • Loading branch information
TWiStErRob committed Oct 21, 2023
1 parent bc5ddeb commit 3587f17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,8 @@ CREATE VIEW Item_Path AS
-- Current minimum is Android 5.0 (API 21) SQLite 3.8.6: https://www.sqlite.org/releaselog/3_8_6.html,
-- which means "The unicode61 tokenizer is now included in FTS4 by default."
CREATE VIRTUAL TABLE Search USING FTS4 (
tokenize=unicode61 'remove_diacritics=2',
-- https://www.twisterrob.net/blog/2023/10/sqlite-unicode61-remove-diacritics-2.html
tokenize=unicode61 'remove_diacritics=1',
name,
location
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
-- Recreate the Search table with new FTS4 format.
DROP TABLE IF EXISTS Search;
CREATE VIRTUAL TABLE Search USING FTS4 (
tokenize=unicode61 'remove_diacritics=2',
tokenize=unicode61 'remove_diacritics=1',
name,
location
);
Expand Down

0 comments on commit 3587f17

Please sign in to comment.