engine: Remove in-tree unicodesn stemmer

Now that search is using libstemmer, the in-tree stemmer is no longer
needed and can be removed.
This commit is contained in:
Michael Gratton 2020-09-13 23:46:53 +10:00 committed by Michael James Gratton
parent 968bc1a9e8
commit 4f9df7d74a
100 changed files with 178 additions and 30417 deletions

View file

@ -27,6 +27,7 @@ sql_files = [
'version-026.sql',
'version-027.sql',
'version-028.sql',
'version-029.sql',
]
install_data(sql_files,

View file

@ -1,5 +1,16 @@
--
-- Dummy database upgrade to add MessageSearchTable, whose parameters depend on
-- things we need at run-time. See src/engine/imap-db/imap-db-database.vala in
-- post_upgrade() for the code that runs the upgrade.
-- Create MessageSearchTable
--
CREATE VIRTUAL TABLE MessageSearchTable USING fts4(
body,
attachment,
subject,
from_field,
receivers,
cc,
bcc,
tokenize=simple,
prefix="2,4,6,8,10",
);

5
sql/version-029.sql Normal file
View file

@ -0,0 +1,5 @@
--
-- Use libstemmer for stemming rather than SQLite.
--
DROP TABLE IF EXISTS TokenizerTable;