Basic search table implementation; fix #6766
This is a limited implementation, so please backup your database before running this search feature branch from now on as we may change things. It's using a Unicode Snowball stemming tokenizer available from https://github.com/littlesavage/sqlite3-unicodesn, also handily available in src/sqlite3-unicodesn in Geary. If you want to look at the search tables on the command line, cd into the unicodesn source folder, run make and make install, then load sqlite3 like: sqlite3 -cmd '.load unicodesn.sqlext' /path/to/geary.db
This commit is contained in:
parent
f5ba36ce2c
commit
a4f680b4ff
103 changed files with 30586 additions and 43 deletions
|
|
@ -9,3 +9,4 @@ install(FILES version-006.sql DESTINATION ${SQL_DEST})
|
|||
install(FILES version-007.sql DESTINATION ${SQL_DEST})
|
||||
install(FILES version-008.sql DESTINATION ${SQL_DEST})
|
||||
install(FILES version-009.sql DESTINATION ${SQL_DEST})
|
||||
install(FILES version-010.sql DESTINATION ${SQL_DEST})
|
||||
|
|
|
|||
5
sql/version-010.sql
Normal file
5
sql/version-010.sql
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
--
|
||||
-- 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.
|
||||
--
|
||||
Loading…
Add table
Add a link
Reference in a new issue