From bcb714793fd5f8bf880da2343dbe455acd48dec1 Mon Sep 17 00:00:00 2001 From: Uwe Trottmann Date: Fri, 27 Oct 2023 13:09:24 +0200 Subject: [PATCH] FTS: note remove_diacritics=2 is not available until API 30 #673 --- .../battlelancer/seriesguide/provider/SeriesGuideDatabase.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/battlelancer/seriesguide/provider/SeriesGuideDatabase.java b/app/src/main/java/com/battlelancer/seriesguide/provider/SeriesGuideDatabase.java index ae8ce6301e..d8497bfcec 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/provider/SeriesGuideDatabase.java +++ b/app/src/main/java/com/battlelancer/seriesguide/provider/SeriesGuideDatabase.java @@ -439,6 +439,7 @@ interface References { // by default only ASCII characters are case folded (so searching 'a' is like 'A'). // Using 'remove_diacritics=0' so e.g. 'รถ' does not match 'o'. // https://www.sqlite.org/fts3.html#tokenizer + // Note: remove_diacritics=2 is not supported until https://sqlite.org/releaselog/3_27_0.html (Android 11/API 30). + Tables.EPISODES_SEARCH + " USING fts4(tokenize=unicode61 'remove_diacritics=0'," // set episodes table as external content table