mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-21 10:14:33 -04:00
Implement rank function for SQLite FTS
This commit is contained in:
parent
671ac699f1
commit
0c36098c1f
3 changed files with 30 additions and 2 deletions
|
@ -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 )"
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue