From 48432d0eb07e1afd33db9b0604643ae3d14a79f8 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 27 Sep 2022 13:32:15 +0200 Subject: [PATCH] Fixed fts tokenizer missing --- app/src/main/java/eu/faircode/email/Fts4DbHelper.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/Fts4DbHelper.java b/app/src/main/java/eu/faircode/email/Fts4DbHelper.java index 7994779442..81ca24c3d5 100644 --- a/app/src/main/java/eu/faircode/email/Fts4DbHelper.java +++ b/app/src/main/java/eu/faircode/email/Fts4DbHelper.java @@ -42,7 +42,7 @@ public class Fts4DbHelper extends SQLiteOpenHelper { private static Fts4DbHelper instance = null; private static final int DATABASE_VERSION = 1; - private static final String DATABASE_NAME = "fts4.db"; + private static final String DATABASE_NAME = "fts4a.db"; private Fts4DbHelper(Context context) { super(context.getApplicationContext(), DATABASE_NAME, null, DATABASE_VERSION); @@ -75,8 +75,7 @@ public class Fts4DbHelper extends SQLiteOpenHelper { ", `notes`" + ", notindexed=`account`" + ", notindexed=`folder`" + - ", notindexed=`time`" + - ", tokenize=unicode61 \"remove_diacritics=2\")"); + ", notindexed=`time`)"); // https://www.sqlite.org/fts3.html#tokenizer // https://unicode.org/reports/tr29/