summary refs log tree commit diff
path: root/synapse/storage/schema
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-10-23 13:23:48 +0100
committerErik Johnston <erik@matrix.org>2015-10-23 13:23:48 +0100
commit0c36098c1fe561629651e446589a644fed9188e4 (patch)
tree0854acb3ea8c7fa3f458af14270b92a3314aee27 /synapse/storage/schema
parentActually filter results (diff)
downloadsynapse-0c36098c1fe561629651e446589a644fed9188e4.tar.xz
Implement rank function for SQLite FTS
Diffstat (limited to 'synapse/storage/schema')
-rw-r--r--synapse/storage/schema/delta/25/fts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/schema/delta/25/fts.py b/synapse/storage/schema/delta/25/fts.py
index ed3cc06557..3f0b02d119 100644
--- a/synapse/storage/schema/delta/25/fts.py
+++ b/synapse/storage/schema/delta/25/fts.py
@@ -54,7 +54,7 @@ CREATE INDEX event_search_ev_ridx ON event_search(room_id);
 
 SQLITE_TABLE = (
     "CREATE VIRTUAL TABLE IF NOT EXISTS event_search"
-    " USING fts3 ( event_id, room_id, key, value)"
+    " USING fts4 ( event_id, room_id, key, value )"
 )