Implement rank function for SQLite FTS

This commit is contained in:
Erik Johnston 2015-10-23 13:23:48 +01:00
parent 671ac699f1
commit 0c36098c1f
3 changed files with 30 additions and 2 deletions

View file

@ -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 )"
)